Home
last modified time | relevance | path

Searched refs:moveaxis (Results 26 – 50 of 171) sorted by relevance

1234567

/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/restoration/tests/
H A Dtest_denoise.py72 img = np.moveaxis(astro, -1, channel_axis)
84 astro3 = np.moveaxis(astro3, -1, channel_axis)
348 img = np.moveaxis(img, -1, channel_axis)
355 img = np.moveaxis(img, channel_axis, -1)
356 out1 = np.moveaxis(out1, channel_axis, -1)
357 out2 = np.moveaxis(out2, channel_axis, -1)
535 imgn = np.moveaxis(imgn, -1, channel_axis)
540 denoised_wrong_multichannel = np.moveaxis(
746 img = np.moveaxis(img, -1, channel_axis)
747 noisy = np.moveaxis(noisy, -1, channel_axis)
[all …]
H A Dtest_inpaint.py46 img_defect = np.moveaxis(img_defect, -1, channel_axis)
49 img_restored = np.moveaxis(img_restored, channel_axis, -1)
/dports/math/py-numpy/numpy-1.20.3/numpy/typing/tests/data/reveal/
H A Dnumeric.py61 reveal_type(np.moveaxis(A, 0, 1)) # E: numpy.ndarray
62 reveal_type(np.moveaxis(A, (0, 1), (1, 2))) # E: numpy.ndarray
/dports/math/py-numpy/numpy-1.20.3/numpy/polynomial/
H A Dchebyshev.py947 c = np.moveaxis(c, iaxis, 0)
963 c = np.moveaxis(c, 0, iaxis)
1072 c = np.moveaxis(c, iaxis, 0)
1090 c = np.moveaxis(c, 0, iaxis)
1440 return np.moveaxis(v, 0, -1)
/dports/math/py-pymc3/pymc-3.11.4/pymc3/tests/
H A Dtest_theanof.py88 arr = np.moveaxis(arr, axis, 0)
89 indices = np.moveaxis(indices, axis, 0)
91 return np.moveaxis(out, 0, axis)
/dports/graphics/py-rasterio/rasterio-1.2.10/tests/
H A Dtest_boundless_read.py39 image = numpy.moveaxis(data, 0, -1)
59 image = numpy.moveaxis(data, 0, -1)
H A Dtest_warpedvrt.py329 image = numpy.moveaxis(data, 0, -1)
346 image = numpy.moveaxis(masks, 0, -1)
366 image = numpy.moveaxis(data, 0, -1)
498 image = numpy.moveaxis(data, 0, -1)
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/color/
H A Dcolorlabel.py126 image = np.moveaxis(image, source=channel_axis, destination=-1)
134 return np.moveaxis(rgb, source=-1, destination=channel_axis)
H A Dadapt_rgb.py78 for c in np.moveaxis(image, -1, 0)]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/morphology/
H A Dmax_tree.py119 np.moveaxis(mask, k, 0)[0] = 0
120 np.moveaxis(mask, k, 0)[-1] = 0
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/util/tests/
H A Dtest_apply_parallel.py135 cat = np.moveaxis(cat, -1, channel_axis)
148 cat_ycbcr = np.moveaxis(cat_ycbcr, channel_axis, -1)
/dports/math/py-jax/jax-0.2.9/jax/_src/scipy/
H A Dsignal.py123 data = jnp.moveaxis(data, axis, 0)
135 return jnp.moveaxis(data.reshape(shape), 0, axis)
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/segmentation/
H A D_quickshift.py71 image = np.moveaxis(image, source=channel_axis, destination=-1)
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/measure/
H A D_blur_effect.py57 image = np.moveaxis(image, channel_axis, -1)
/dports/math/py-numpy/numpy-1.20.3/numpy/core/
H A Dfunction_base.py167 y = _nx.moveaxis(y, 0, axis)
438 result = _nx.moveaxis(result, 0, axis)
H A Dnumeric.py1405 def moveaxis(a, source, destination): function
1478 return moveaxis(a, axis, 0)
1608 a = moveaxis(a, axisa, -1)
1609 b = moveaxis(b, axisb, -1)
1680 return moveaxis(cp, -1, axisc)
/dports/science/py-scipy/scipy-1.7.1/scipy/stats/
H A D_mannwhitneyu.py10 x = np.moveaxis(x, axis, -1)
11 y = np.moveaxis(y, axis, -1)
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/_shared/
H A Dutils.py356 new_args.append(np.moveaxis(arg, channel_axis[0], -1))
364 kwargs[name] = np.moveaxis(kwargs[name], channel_axis[0], -1)
373 out = np.moveaxis(out, -1, channel_axis[0])
/dports/math/py-jax/jax-0.2.9/jax/_src/lax/
H A Dother.py95 rhs = jnp.moveaxis(rhs, (0, 1), (rhs_spec[0], rhs_spec[1]))
/dports/devel/py-xarray/xarray-0.20.1/xarray/core/
H A Dnputils.py128 return np.moveaxis(self._array[key], mixed_positions, vindex_positions)
133 self._array[key] = np.moveaxis(value, vindex_positions, mixed_positions)
/dports/math/py-jax/jax-0.2.9/jax/interpreters/
H A Dbatching.py25 canonicalize_axis, moveaxis, as_hashable_function)
371 x = moveaxis(x, bdx, bdy)
399 return moveaxis(x, src, dst)
414 return moveaxis(x, bdim, 0)
439 out_vals = [moveaxis(x, d, 0) if d is not not_mapped and d != 0
/dports/math/py-numpy/numpy-1.20.3/doc/source/reference/
H A Droutines.array-manipulation.rst30 moveaxis
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/linalg/
H A Dtransformations.py550 return np.moveaxis(t, range(t1_len, t1_len + t2_dim), range(t1_dim, t1_dim + t2_dim)).reshape(
585 t1 = np.moveaxis(t, axes, range(n_axes))
657 return np.moveaxis(t, axes, range(len(axes)))
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-core/cirq/linalg/
H A Dtransformations.py544 return np.moveaxis(t, range(t1_len, t1_len + t2_dim), range(t1_dim, t1_dim + t2_dim)).reshape(
576 t1 = np.moveaxis(t, axes, range(n_axes))
645 return np.moveaxis(t, axes, range(len(axes)))
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-core/cirq/linalg/
H A Dtransformations.py550 return np.moveaxis(t, range(t1_len, t1_len + t2_dim), range(t1_dim, t1_dim + t2_dim)).reshape(
585 t1 = np.moveaxis(t, axes, range(n_axes))
657 return np.moveaxis(t, axes, range(len(axes)))

1234567