/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/restoration/tests/ |
H A D | test_denoise.py | 72 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 D | test_inpaint.py | 46 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 D | numeric.py | 61 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 D | chebyshev.py | 947 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 D | test_theanof.py | 88 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 D | test_boundless_read.py | 39 image = numpy.moveaxis(data, 0, -1) 59 image = numpy.moveaxis(data, 0, -1)
|
H A D | test_warpedvrt.py | 329 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 D | colorlabel.py | 126 image = np.moveaxis(image, source=channel_axis, destination=-1) 134 return np.moveaxis(rgb, source=-1, destination=channel_axis)
|
H A D | adapt_rgb.py | 78 for c in np.moveaxis(image, -1, 0)]
|
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/morphology/ |
H A D | max_tree.py | 119 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 D | test_apply_parallel.py | 135 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 D | signal.py | 123 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.py | 71 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.py | 57 image = np.moveaxis(image, channel_axis, -1)
|
/dports/math/py-numpy/numpy-1.20.3/numpy/core/ |
H A D | function_base.py | 167 y = _nx.moveaxis(y, 0, axis) 438 result = _nx.moveaxis(result, 0, axis)
|
H A D | numeric.py | 1405 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.py | 10 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 D | utils.py | 356 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 D | other.py | 95 rhs = jnp.moveaxis(rhs, (0, 1), (rhs_spec[0], rhs_spec[1]))
|
/dports/devel/py-xarray/xarray-0.20.1/xarray/core/ |
H A D | nputils.py | 128 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 D | batching.py | 25 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 D | routines.array-manipulation.rst | 30 moveaxis
|
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-core/cirq/linalg/ |
H A D | transformations.py | 550 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 D | transformations.py | 544 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 D | transformations.py | 550 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)))
|