/dports/misc/mnn/MNN-1.2.0/test/op/ |
H A D | BinaryOPTest.cpp | 22 … const vector<int>& shape_x, const vector<int>& shape_y, const vector<int>& shape_out) { in test() argument 31 size_out *= shape_out[i]; in test() 49 if (shape_got.size() != shape_out.size()) { in test() 54 if (shape_got[i] != shape_out[i]) { in test() 270 vector<int> shape_x = {4, 1, 2, 1}, shape_y = {2, 1, 4}, shape_out = {4, 2, 2, 4}; in run() local 272 data_x, data_y, data_out, shape_x, shape_y, shape_out); in run() 281 vector<int> shape_x = {560}, shape_y = {1, 20, 560}, shape_out = {1, 20, 560}; in run() local 294 data_x, data_y, data_out, shape_x, shape_y, shape_out); in run()
|
H A D | UnaryTest.cpp | 22 … const vector<Tout>& data_out, const vector<int>& shape_in, const vector<int>& shape_out) { in test() argument 27 for (int i = 0; i < shape_out.size(); ++i) { in test() 28 size_out *= shape_out[i]; in test() 41 if (shape_got.size() != shape_out.size()) { in test() 46 if (shape_got[i] != shape_out[i]) { in test()
|
/dports/graphics/py-scikit-image/scikit-image-0.19.0/benchmarks/ |
H A D | benchmark_transform_warp.py | 67 def setup(self, dtype, shape_in, shape_out): argument 68 if len(shape_in) != len(shape_out): 74 def time_resize_local_mean(self, dtype, shape_in, shape_out): argument 75 resize_local_mean(self.image, shape_out)
|
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/tests/models/onnxModels/ |
H A D | shape.onnxtxt | 10 output: "shape_out" 15 input: "shape_out"
|
/dports/devel/py-tinyarray/tinyarray-1.2.4/src/ |
H A D | array.cc | 322 Array<T> *result = Array<T>::make(ndim_out, shape_out); in readin_seqs_into_new() 326 assert(shape_out[d] == 1); in readin_seqs_into_new() 330 shape_out + ndim_out - ndim_in, exact) in readin_seqs_into_new() 555 const size_t *shape_out) in make_and_readin_buffer() argument 557 Array<T> *result = Array<T>::make(ndim_out, shape_out); in make_and_readin_buffer() 561 assert(shape_out[d] == 1); in make_and_readin_buffer() 1711 size_t *shape_in, shape_out[max_ndim], stride = 1; in transpose() local 1719 shape_out[od] = ext; in transpose() 1724 Array<T> *out = Array<T>::make(ndim, shape_out); in transpose() 1731 i[0] = shape_out[0]; in transpose() [all …]
|
/dports/graphics/gimp-app/gimp-2.10.30/libgimp/ |
H A D | gimpbrush_pdb.c | 500 GimpBrushGeneratedShape shape_out = 0; in gimp_brush_set_shape() local 509 shape_out = return_vals[1].data.d_int32; in gimp_brush_set_shape() 513 return shape_out; in gimp_brush_set_shape()
|
/dports/math/py-numpy/numpy-1.20.3/numpy/lib/ |
H A D | shape_base.py | 1253 shape_out = tuple(s*t for s, t in zip(c.shape, tup)) 1260 return c.reshape(shape_out)
|
/dports/devel/py-pythran/pythran-0.11.0/pythran/pythonic/numpy/fft/ |
H A D | pocketfft.hpp | 3774 shape_t shape_out(shape_in); in r2c() local 3775 shape_out[axis] = shape_in[axis] / 2 + 1; in r2c() 3776 ndarr<cmplx<T>> aout(data_out, shape_out, stride_out); in r2c() 3794 shape_t shape_out(shape_in); in r2c() local 3795 shape_out[axes.back()] = shape_in[axes.back()] / 2 + 1; in r2c() 3807 if (util::prod(shape_out) == 0) in c2r() 3810 shape_t shape_in(shape_out); in c2r() 3811 shape_in[axis] = shape_out[axis] / 2 + 1; in c2r() 3813 ndarr<T> aout(data_out, shape_out, stride_out); in c2r() 3823 if (util::prod(shape_out) == 0) in c2r() [all …]
|
/dports/science/py-scipy/scipy-1.7.1/scipy/fft/_pocketfft/ |
H A D | pocketfft_hdronly.h | 3439 shape_t shape_out(shape_in); 3440 shape_out[axis] = shape_in[axis]/2 + 1; 3456 shape_t shape_out(shape_in); 3457 shape_out[axes.back()] = shape_in[axes.back()]/2 + 1; 3463 template<typename T> void c2r(const shape_t &shape_out, 3468 if (util::prod(shape_out)==0) return; 3470 shape_t shape_in(shape_out); 3471 shape_in[axis] = shape_out[axis]/2 + 1; 3473 ndarr<T> aout(data_out, shape_out, stride_out); 3482 if (util::prod(shape_out)==0) return; [all …]
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | swapaxis-inl.h | 114 mxnet::TShape shape_out = data_out.shape_; in SwapAxis() local
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/src/operator/ |
H A D | swapaxis-inl.h | 114 mxnet::TShape shape_out = data_out.shape_; in SwapAxis() local
|
/dports/graphics/gimp-app/gimp-2.10.30/app/pdb/ |
H A D | brush-cmds.c | 514 gint32 shape_out = 0; in brush_set_shape_invoker() local 527 shape_out = GIMP_BRUSH_GENERATED (brush)->shape; in brush_set_shape_invoker() 537 g_value_set_enum (gimp_value_array_index (return_vals, 1), shape_out); in brush_set_shape_invoker()
|
/dports/devel/py-dask/dask-2021.11.2/dask/array/ |
H A D | creation.py | 795 shape_out = tuple(s * t for s, t in zip(shape, tup)) 796 return empty(shape=shape_out, dtype=c.dtype)
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/tests/python/unittest/ |
H A D | test_operator.py | 8968 shape_out = (n, c // (block ** 2), h * block, w * block) 8974 check_symbolic_backward(dts_sym, [data_np], [np.ones(shape_out)], [np.ones(shape_inp)]) 9019 shape_out = (n, c * (block ** 2), h // block, w // block) 9025 check_symbolic_backward(dts_sym, [data_np], [np.ones(shape_out)], [np.ones(shape_inp)])
|
H A D | test_numpy_op.py | 7992 shape_out = np_out.shape 8012 array_temp = array_temp.reshape(shape_out[:-1] + (shape[axis1], shape[axis2]))
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/tests/python/unittest/ |
H A D | test_operator.py | 8968 shape_out = (n, c // (block ** 2), h * block, w * block) 8974 check_symbolic_backward(dts_sym, [data_np], [np.ones(shape_out)], [np.ones(shape_inp)]) 9019 shape_out = (n, c * (block ** 2), h // block, w // block) 9025 check_symbolic_backward(dts_sym, [data_np], [np.ones(shape_out)], [np.ones(shape_inp)])
|
H A D | test_numpy_op.py | 7992 shape_out = np_out.shape 8012 array_temp = array_temp.reshape(shape_out[:-1] + (shape[axis1], shape[axis2]))
|