Home
last modified time | relevance | path

Searched refs:ResizeMethod (Results 1 – 25 of 41) sorted by relevance

12

/external/armnn/src/backends/reference/workloads/
DResize.cpp45 armnn::ResizeMethod& resizeMethod) in PixelScaler()
48 if (HalfPixelCenters && resizeMethod == armnn::ResizeMethod::Bilinear) in PixelScaler()
53 else if (HalfPixelCenters && resizeMethod == armnn::ResizeMethod::NearestNeighbor) in PixelScaler()
70 armnn::ResizeMethod resizeMethod, in Resize()
107 … const float fiy = (resizeMethod == armnn::ResizeMethod::NearestNeighbor && alignCorners) ? in Resize()
121 … const float fix = resizeMethod == armnn::ResizeMethod::NearestNeighbor && alignCorners ? in Resize()
147 case armnn::ResizeMethod::Bilinear: in Resize()
163 case armnn::ResizeMethod::NearestNeighbor: in Resize()
DResize.hpp22 ResizeMethod resizeMethod = ResizeMethod::NearestNeighbor,
/external/armnn/src/backends/backendsCommon/test/
DResizeEndToEndTestImpl.hpp40 armnn::ResizeMethod resizeMethod) in ResizeEndToEnd()
70 case ResizeMethod::Bilinear: in ResizeEndToEnd()
82 case ResizeMethod::NearestNeighbor: in ResizeEndToEnd()
135 ResizeEndToEnd<ArmnnType>(backends, dataLayout, armnn::ResizeMethod::Bilinear); in ResizeBilinearEndToEnd()
142 ResizeEndToEnd<ArmnnType>(backends, dataLayout, armnn::ResizeMethod::NearestNeighbor); in ResizeNearestNeighborEndToEnd()
/external/tflite-support/tensorflow_lite_support/java/src/java/org/tensorflow/lite/support/image/ops/
DResizeOp.java34 public enum ResizeMethod { enum in ResizeOp
50 public ResizeOp(int targetHeight, int targetWidth, ResizeMethod resizeMethod) { in ResizeOp()
53 useBilinear = (resizeMethod == ResizeMethod.BILINEAR); in ResizeOp()
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.image.-resize-method.pbtxt1 path: "tensorflow.image.ResizeMethod"
3 is_instance: "<class \'tensorflow.python.ops.image_ops_impl.ResizeMethod\'>"
/external/armnn/src/armnnSerializer/
DSerializerUtils.hpp40 armnnSerializer::ResizeMethod GetFlatBufferResizeMethod(armnn::ResizeMethod method);
DSerializerUtils.cpp237 armnnSerializer::ResizeMethod GetFlatBufferResizeMethod(armnn::ResizeMethod method) in GetFlatBufferResizeMethod()
241 case armnn::ResizeMethod::NearestNeighbor: in GetFlatBufferResizeMethod()
243 case armnn::ResizeMethod::Bilinear: in GetFlatBufferResizeMethod()
DArmnnSchema.fbs61 enum ResizeMethod: byte {
974 method:ResizeMethod = NearestNeighbor;
/external/armnn/src/backends/backendsCommon/test/layerTests/
DResizeTestImpl.cpp27 : m_ResizeMethod(armnn::ResizeMethod::Bilinear) in ResizeTestParams()
36 armnn::ResizeMethod m_ResizeMethod;
159 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in ResizeBilinearNopTest()
193 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in SimpleResizeBilinearTest()
233 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in ResizeBilinearSqMinTest()
274 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in ResizeBilinearMinTest()
313 testParams.m_ResizeMethod = armnn::ResizeMethod::Bilinear; in ResizeBilinearMagTest()
358 testParams.m_ResizeMethod = armnn::ResizeMethod::NearestNeighbor; in ResizeNearestNeighborNopTest()
392 testParams.m_ResizeMethod = armnn::ResizeMethod::NearestNeighbor; in SimpleResizeNearestNeighborTest()
432 testParams.m_ResizeMethod = armnn::ResizeMethod::NearestNeighbor; in ResizeNearestNeighborSqMinTest()
[all …]
/external/armnn/include/armnn/
DTypesUtils.hpp272 constexpr const char* GetResizeMethodAsCString(ResizeMethod method) in GetResizeMethodAsCString()
276 case ResizeMethod::Bilinear: return "Bilinear"; in GetResizeMethodAsCString()
277 case ResizeMethod::NearestNeighbor: return "NearestNeighbour"; in GetResizeMethodAsCString()
DTypes.hpp163 enum class ResizeMethod enum
DDescriptors.hpp957 , m_Method(ResizeMethod::NearestNeighbor) in ResizeDescriptor()
979 ResizeMethod m_Method;
/external/armnn/delegate/classic/src/
DResize.hpp100 desc.m_Method = armnn::ResizeMethod::Bilinear; in VisitResizeOperator()
113 desc.m_Method = armnn::ResizeMethod::NearestNeighbor; in VisitResizeOperator()
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.image.-resize-method.pbtxt1 path: "tensorflow.image.ResizeMethod"
/external/armnn/src/backends/aclCommon/
DArmComputeUtils.hpp211 inline arm_compute::InterpolationPolicy ConvertResizeMethodToAclInterpolationPolicy(ResizeMethod re… in ConvertResizeMethodToAclInterpolationPolicy()
215 case ResizeMethod::Bilinear: in ConvertResizeMethodToAclInterpolationPolicy()
217 case ResizeMethod::NearestNeighbor: in ConvertResizeMethodToAclInterpolationPolicy()
/external/tensorflow/tensorflow/python/ops/
Dimage_ops_test.py2828 image_ops.ResizeMethod.BILINEAR, image_ops.ResizeMethod.NEAREST_NEIGHBOR,
2829 image_ops.ResizeMethod.BICUBIC, image_ops.ResizeMethod.AREA,
2830 image_ops.ResizeMethod.LANCZOS3, image_ops.ResizeMethod.LANCZOS5,
2831 image_ops.ResizeMethod.GAUSSIAN, image_ops.ResizeMethod.MITCHELLCUBIC
2838 image_ops.ResizeMethod.BILINEAR, image_ops.ResizeMethod.NEAREST_NEIGHBOR,
2839 image_ops.ResizeMethod.BICUBIC, image_ops.ResizeMethod.AREA,
2840 image_ops.ResizeMethod.LANCZOS3, image_ops.ResizeMethod.LANCZOS5
2863 if (method == image_ops.ResizeMethod.NEAREST_NEIGHBOR and
2946 _ = resize_func(image, new_size, image_ops.ResizeMethod.BILINEAR)
2949 _ = resize_func(image, new_size, image_ops.ResizeMethod.BILINEAR)
[all …]
Dimage_ops_impl.py1420 class ResizeMethod: class
1571 if method == ResizeMethodV1.BILINEAR or method == ResizeMethod.BILINEAR:
1575 method == ResizeMethod.NEAREST_NEIGHBOR):
1578 elif method == ResizeMethodV1.BICUBIC or method == ResizeMethod.BICUBIC:
1581 elif method == ResizeMethodV1.AREA or method == ResizeMethod.AREA:
1600 method=ResizeMethod.BILINEAR,
1728 ResizeMethod.LANCZOS3, ResizeMethod.LANCZOS5, ResizeMethod.GAUSSIAN,
1729 ResizeMethod.MITCHELLCUBIC
1744 if method == ResizeMethod.BILINEAR:
1750 elif method == ResizeMethod.NEAREST_NEIGHBOR:
[all …]
/external/tensorflow/tensorflow/compiler/tests/
Dimage_ops_jit_compile_test.py43 method=image_ops.ResizeMethod.BILINEAR)
/external/tensorflow/tensorflow/python/ops/ragged/
Dragged_image_ops.py34 method=image_ops.ResizeMethod.BILINEAR,
/external/android-nn-driver/1.2/
DHalPolicy.cpp159 return ConvertResize(operation, model, data, ResizeMethod::Bilinear); in ConvertOperation()
161 return ConvertResize(operation, model, data, ResizeMethod::NearestNeighbor); in ConvertOperation()
430 ResizeMethod resizeMethod) in ConvertResize()
DHalPolicy.hpp136 armnn::ResizeMethod resizeMethod);
/external/android-nn-driver/1.3/
DHalPolicy.cpp147 return ConvertResize(operation, model, data, ResizeMethod::Bilinear); in ConvertOperation()
149 return ConvertResize(operation, model, data, ResizeMethod::NearestNeighbor); in ConvertOperation()
466 ResizeMethod resizeMethod) in ConvertResize()
DHalPolicy.hpp148 armnn::ResizeMethod resizeMethod);
/external/armnn/shim/sl/canonical/
DConverter.hpp143 armnn::ResizeMethod resizeMethod);
/external/tensorflow/tensorflow/lite/g3doc/inference_with_metadata/
Dlite_support.md70 .add(new ResizeOp(224, 224, ResizeOp.ResizeMethod.BILINEAR))
236 .add(new ResizeOp(224, 224, ResizeOp.ResizeMethod.BILINEAR));

12