/frameworks/ml/nn/runtime/test/specs/V1_3/ |
D | strided_slice_quant8_signed.mod.py | 21 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 28 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM… 46 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 53 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM… 71 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 78 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM… 96 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 103 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM… 121 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 128 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM… [all …]
|
/frameworks/ml/nn/common/ |
D | IndexedShapeWrapper.cpp | 25 strides.resize(shape->dimensions.size()); in IndexedShapeWrapper() 26 strides.back() = 1; in IndexedShapeWrapper() 27 for (int i = strides.size() - 2; i >= 0; --i) { in IndexedShapeWrapper() 28 strides[i] = shape->dimensions[i + 1] * strides[i + 1]; in IndexedShapeWrapper() 63 *flatIndex += strides[i] * index[i]; in indexToFlatIndex() 70 NN_CHECK(index.size() >= strides.size()); in broadcastedIndexToFlatIndex() 73 for (int i = 1; i <= strides.size(); ++i) { in broadcastedIndexToFlatIndex() 78 *flatIndex += strides[strides.size() - i] * index[index.size() - i]; in broadcastedIndexToFlatIndex()
|
/frameworks/base/graphics/java/android/graphics/ |
D | YuvImage.java | 79 public YuvImage(byte[] yuv, int format, int width, int height, int[] strides) { in YuvImage() argument 96 if (strides == null) { in YuvImage() 99 mStrides = strides; in YuvImage() 200 int[] strides = null; in calculateStrides() local 202 strides = new int[] {width, width}; in calculateStrides() 203 return strides; in calculateStrides() 207 strides = new int[] {width * 2}; in calculateStrides() 208 return strides; in calculateStrides() 211 return strides; in calculateStrides() 238 int format, int width, int height, int[] offsets, int[] strides, in nativeCompressToJpeg() argument
|
/frameworks/base/core/jni/android/graphics/ |
D | YuvToJpegEncoder.cpp | 11 YuvToJpegEncoder* YuvToJpegEncoder::create(int format, int* strides) { in create() argument 15 return new Yuv420SpToJpegEncoder(strides); in create() 17 return new Yuv422IToJpegEncoder(strides); in create() 23 YuvToJpegEncoder::YuvToJpegEncoder(int* strides) : fStrides(strides) { in YuvToJpegEncoder() argument 83 Yuv420SpToJpegEncoder::Yuv420SpToJpegEncoder(int* strides) : in Yuv420SpToJpegEncoder() argument 84 YuvToJpegEncoder(strides) { in Yuv420SpToJpegEncoder() 159 Yuv422IToJpegEncoder::Yuv422IToJpegEncoder(int* strides) : in Yuv422IToJpegEncoder() argument 160 YuvToJpegEncoder(strides) { in Yuv422IToJpegEncoder() 238 jintArray strides, jint jpegQuality, jobject jstream, in YuvImage_compressToJpeg() argument 244 jint* imgStrides = env->GetIntArrayElements(strides, NULL); in YuvImage_compressToJpeg() [all …]
|
D | YuvToJpegEncoder.h | 19 static YuvToJpegEncoder* create(int pixelFormat, int* strides); 21 explicit YuvToJpegEncoder(int* strides); 50 explicit Yuv420SpToJpegEncoder(int* strides); 64 explicit Yuv422IToJpegEncoder(int* strides);
|
/frameworks/ml/nn/runtime/test/specs/V1_1/ |
D | strided_slice_qaunt8_11.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_9.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_1.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_8.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [2, -1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_6.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_1.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_10.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_3.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_2.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_4.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_9.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [1, 1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_5.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_3.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_8.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [2, -1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_5.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_quant8_7.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [-1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_6.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [2, 2]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
D | strided_slice_float_2.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{1}", [1]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|
/frameworks/ml/nn/runtime/test/specs/V1_2/ |
D | strided_slice_float16.mod.py | 5 strides = Parameter("strides", "TENSOR_INT32", "{2}", [2, 2]) variable 12 model = model.Operation("STRIDED_SLICE", i1, begins, ends, strides, beginMask, endMask, shrinkAxisM…
|