Home
last modified time | relevance | path

Searched refs:moveaxis (Results 1 – 25 of 171) sorted by relevance

1234567

/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/color/
H A Ddelta_e.py67 L1, a1, b1 = np.moveaxis(lab1, source=channel_axis, destination=0)[:3]
68 L2, a2, b2 = np.moveaxis(lab2, source=channel_axis, destination=0)[:3]
131 lab1 = np.moveaxis(lab1, source=channel_axis, destination=0)
132 lab2 = np.moveaxis(lab2, source=channel_axis, destination=0)
207 L1, a1, b1 = np.moveaxis(lab1, source=channel_axis, destination=0)[:3]
208 L2, a2, b2 = np.moveaxis(lab2, source=channel_axis, destination=0)[:3]
331 lab1 = np.moveaxis(lab1, source=channel_axis, destination=0)
332 lab2 = np.moveaxis(lab2, source=channel_axis, destination=0)
380 a1, b1 = np.moveaxis(lab1, source=channel_axis, destination=0)[1:3]
381 a2, b2 = np.moveaxis(lab2, source=channel_axis, destination=0)[1:3]
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/color/tests/
H A Dtest_delta_e.py28 lab1 = np.moveaxis(lab1, source=-1, destination=channel_axis)
29 lab2 = np.moveaxis(lab2, source=-1, destination=channel_axis)
83 lab1 = np.moveaxis(lab1, source=-1, destination=channel_axis)
84 lab2 = np.moveaxis(lab2, source=-1, destination=channel_axis)
115 lab1 = np.moveaxis(lab1, source=-1, destination=channel_axis)
116 lab2 = np.moveaxis(lab2, source=-1, destination=channel_axis)
147 lab1 = np.moveaxis(lab1, source=-1, destination=channel_axis)
148 lab2 = np.moveaxis(lab2, source=-1, destination=channel_axis)
H A Dtest_colorconv.py84 rgba = np.moveaxis(rgba, source=-1, destination=channel_axis)
86 rgb = np.moveaxis(rgb, source=channel_axis, destination=-1)
124 _rgb = np.moveaxis(rgb, source=-1, destination=channel_axis)
126 hsv = np.moveaxis(hsv, source=channel_axis, destination=-1)
154 hsv = np.moveaxis(hsv, source=-1, destination=channel_axis)
189 img = np.moveaxis(
193 out = np.moveaxis(out, source=channel_axis, destination=-1)
284 img = np.moveaxis(
303 rgb = np.moveaxis(
330 colbars_array = np.moveaxis(
[all …]
H A Dtest_colorlabel.py178 _image = np.moveaxis(image, source=-1, destination=channel_axis)
181 out = np.moveaxis(out, source=channel_axis, destination=-1)
187 out_bg = np.moveaxis(out_bg, source=channel_axis, destination=-1)
195 out_bg = np.moveaxis(out_bg, source=channel_axis, destination=-1)
/dports/math/py-numpoly/numpoly-1.2.3/numpoly/array_function/
H A Dmoveaxis.py10 @implements(numpy.moveaxis)
11 def moveaxis( function
42 numpy_func=numpy.moveaxis,
H A D__init__.py60 from .moveaxis import moveaxis
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/gpu/
H A Dtest_gluon_transforms.py50 data_in_4d_nchw = nd.moveaxis(nd.expand_dims(data_in_3d, axis=0), 3, 1)
51 …data_expected_3d = (nd.moveaxis(nd.contrib.BilinearResize2D(data_in_4d_nchw, height=100, width=100…
57 data_in_4d_nchw = nd.moveaxis(data_in_4d, 3, 1)
58 …data_expected_4d = nd.moveaxis(nd.contrib.BilinearResize2D(data_in_4d_nchw, height=100, width=100,…
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/gpu/
H A Dtest_gluon_transforms.py50 data_in_4d_nchw = nd.moveaxis(nd.expand_dims(data_in_3d, axis=0), 3, 1)
51 …data_expected_3d = (nd.moveaxis(nd.contrib.BilinearResize2D(data_in_4d_nchw, height=100, width=100…
57 data_in_4d_nchw = nd.moveaxis(data_in_4d, 3, 1)
58 …data_expected_4d = nd.moveaxis(nd.contrib.BilinearResize2D(data_in_4d_nchw, height=100, width=100,…
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_insert_op-inl.h98 const int axis, bool moveaxis, const int req) { in Map()
114 if (moveaxis) { // moveaxis(values, 0, axis) in Map()
147 const int axis, bool moveaxis, const int req) { in Map()
167 if (moveaxis) { // moveaxis(values, 0, axis) in Map()
302 const size_t len, const bool moveaxis) { in InsertScalerImpl() argument
312 axis, moveaxis, req); in InsertScalerImpl()
328 const int N, const size_t len, const bool moveaxis) { in InsertSizeOneTensorImpl() argument
338 axis, moveaxis, req); in InsertSizeOneTensorImpl()
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/numpy/
H A Dnp_insert_op-inl.h98 const int axis, bool moveaxis, const int req) { in Map()
114 if (moveaxis) { // moveaxis(values, 0, axis) in Map()
147 const int axis, bool moveaxis, const int req) { in Map()
167 if (moveaxis) { // moveaxis(values, 0, axis) in Map()
302 const size_t len, const bool moveaxis) { in InsertScalerImpl() argument
312 axis, moveaxis, req); in InsertScalerImpl()
328 const int N, const size_t len, const bool moveaxis) { in InsertSizeOneTensorImpl() argument
338 axis, moveaxis, req); in InsertSizeOneTensorImpl()
/dports/graphics/py-scikit-image/scikit-image-0.19.0/skimage/exposure/tests/
H A Dtest_histogram_matching.py61 image = np.moveaxis(self.image_rgb, -1, channel_axis)
62 reference = np.moveaxis(self.template_rgb, -1, channel_axis)
65 matched = np.moveaxis(matched, channel_axis, -1)
66 reference = np.moveaxis(reference, channel_axis, -1)
/dports/science/py-abipy/abipy-0.9.0/abipy/eph/
H A Dtransportfile.py290 L0 = np.moveaxis(self.read_variable("L0")[itemp,:], [0,1,2,3], [3,2,0,1])
291 L1 = np.moveaxis(self.read_variable("L1")[itemp,:], [0,1,2,3], [3,2,0,1])
292 L2 = np.moveaxis(self.read_variable("L2")[itemp,:], [0,1,2,3], [3,2,0,1])
298 sigma = np.moveaxis(self.read_variable("sigma")[itemp,:], [0,1,2,3], [3,2,0,1])
299 kappa = np.moveaxis(self.read_variable("kappa")[itemp,:], [0,1,2,3], [3,2,0,1])
300 seebeck = np.moveaxis(self.read_variable("seebeck")[itemp,:], [0,1,2,3], [3,2,0,1])
301 pi = np.moveaxis(self.read_variable("pi")[itemp,:], [0,1,2,3], [3,2,0,1])
/dports/science/py-cirq-aqt/Cirq-0.12.0/cirq-google/cirq_google/optimizers/two_qubit_gates/
H A Dmath_utils.py36 Udiag = np.moveaxis(Udiag, [0, 1], [-2, -1])
38 Uoff = np.moveaxis(Uoff, [0, 1], [-2, -1])
69 out = np.moveaxis(out, (-2, -1), (0, 1))
71 out = np.moveaxis(out, (0, 1), (-2, -1))
232 mesh_points = np.moveaxis(mesh_points, 0, -1)
/dports/science/py-cirq-ionq/Cirq-0.13.1/cirq-google/cirq_google/optimizers/two_qubit_gates/
H A Dmath_utils.py36 Udiag = np.moveaxis(Udiag, [0, 1], [-2, -1])
38 Uoff = np.moveaxis(Uoff, [0, 1], [-2, -1])
69 out = np.moveaxis(out, (-2, -1), (0, 1))
71 out = np.moveaxis(out, (0, 1), (-2, -1))
234 mesh_points = np.moveaxis(mesh_points, 0, -1)
/dports/science/py-cirq-pasqal/Cirq-0.13.1/cirq-google/cirq_google/optimizers/two_qubit_gates/
H A Dmath_utils.py36 Udiag = np.moveaxis(Udiag, [0, 1], [-2, -1])
38 Uoff = np.moveaxis(Uoff, [0, 1], [-2, -1])
69 out = np.moveaxis(out, (-2, -1), (0, 1))
71 out = np.moveaxis(out, (0, 1), (-2, -1))
234 mesh_points = np.moveaxis(mesh_points, 0, -1)
/dports/science/py-cirq-core/Cirq-0.13.1/cirq-google/cirq_google/optimizers/two_qubit_gates/
H A Dmath_utils.py36 Udiag = np.moveaxis(Udiag, [0, 1], [-2, -1])
38 Uoff = np.moveaxis(Uoff, [0, 1], [-2, -1])
69 out = np.moveaxis(out, (-2, -1), (0, 1))
71 out = np.moveaxis(out, (0, 1), (-2, -1))
234 mesh_points = np.moveaxis(mesh_points, 0, -1)
/dports/science/py-cirq-google/Cirq-0.13.0/cirq-google/cirq_google/optimizers/two_qubit_gates/
H A Dmath_utils.py36 Udiag = np.moveaxis(Udiag, [0, 1], [-2, -1])
38 Uoff = np.moveaxis(Uoff, [0, 1], [-2, -1])
69 out = np.moveaxis(out, (-2, -1), (0, 1))
71 out = np.moveaxis(out, (0, 1), (-2, -1))
234 mesh_points = np.moveaxis(mesh_points, 0, -1)
/dports/math/py-numpy/numpy-1.20.3/numpy/polynomial/
H A Dpolynomial.py529 c = np.moveaxis(c, iaxis, 0)
541 c = np.moveaxis(c, 0, iaxis)
646 c = np.moveaxis(c, iaxis, 0)
660 c = np.moveaxis(c, 0, iaxis)
1109 return np.moveaxis(v, 0, -1)
H A Dlaguerre.py659 c = np.moveaxis(c, iaxis, 0)
673 c = np.moveaxis(c, 0, iaxis)
781 c = np.moveaxis(c, iaxis, 0)
797 c = np.moveaxis(c, 0, iaxis)
1162 return np.moveaxis(v, 0, -1)
H A Dhermite.py664 c = np.moveaxis(c, iaxis, 0)
676 c = np.moveaxis(c, 0, iaxis)
783 c = np.moveaxis(c, iaxis, 0)
798 c = np.moveaxis(c, 0, iaxis)
1165 return np.moveaxis(v, 0, -1)
H A Dhermite_e.py657 c = np.moveaxis(c, iaxis, 0)
669 c = np.moveaxis(c, 0, iaxis)
776 c = np.moveaxis(c, iaxis, 0)
791 c = np.moveaxis(c, 0, iaxis)
1156 return np.moveaxis(v, 0, -1)
H A Dlegendre.py687 c = np.moveaxis(c, iaxis, 0)
703 c = np.moveaxis(c, 0, iaxis)
812 c = np.moveaxis(c, iaxis, 0)
831 c = np.moveaxis(c, 0, iaxis)
1182 return np.moveaxis(v, 0, -1)
/dports/science/py-dipy/dipy-1.4.1/dipy/denoise/
H A Dgibbs.py310 vol = np.moveaxis(vol, slice_axis, 0)
312 vol = np.moveaxis(vol, (slice_axis, 3), (0, 1))
341 vol = np.moveaxis(vol, 0, slice_axis)
344 vol = np.moveaxis(vol, (0, 1), (slice_axis, 3))
/dports/science/py-chainer/chainer-7.8.0/chainer/functions/array/
H A Dmoveaxis.py17 return xp.moveaxis(a, source, destination)
97 def moveaxis(x, source, destination): function
/dports/math/py-numpy/numpy-1.20.3/numpy/typing/tests/data/pass/
H A Dnumeric.py61 np.moveaxis(A, 0, 1)
62 np.moveaxis(A, (0, 1), (1, 2))

1234567