/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/ |
D | resize_tests.cc | 25 OpParameter *CreateParameter(schema::ResizeMethod method, int new_height, int new_width, bool align… in CreateParameter() 39 schema::ResizeMethod method = schema::ResizeMethod_LINEAR; in TEST_F() 55 schema::ResizeMethod method = schema::ResizeMethod_LINEAR; in TEST_F() 71 schema::ResizeMethod method = schema::ResizeMethod_NEAREST; in TEST_F() 87 schema::ResizeMethod method = schema::ResizeMethod_LINEAR; in TEST_F() 104 schema::ResizeMethod method = schema::ResizeMethod_LINEAR; in TEST_F() 120 schema::ResizeMethod method = schema::ResizeMethod_NEAREST; in TEST_F()
|
/third_party/mindspore/mindspore/core/ops/ |
D | crop_and_resize.cc | 25 void CropAndResize::Init(ResizeMethod method, float extrapolation_value) { in Init() 30 void CropAndResize::set_method(ResizeMethod method) { in set_method() 39 ResizeMethod CropAndResize::get_method() const { in get_method() 41 return ResizeMethod(GetValue<int64_t>(value_ptr)); in get_method()
|
D | crop_and_resize.h | 38 void Init(ResizeMethod method, float extrapolation_value); 41 void set_method(ResizeMethod method); 47 ResizeMethod get_method() const;
|
D | resize.h | 53 …void Init(const Format format, const ResizeMethod method, const int64_t new_height, const int64_t … 66 void set_method(const ResizeMethod method); 118 ResizeMethod get_method() const;
|
D | resize.cc | 28 void Resize::Init(const Format format, const ResizeMethod method, const int64_t new_height, const i… in Init() 48 void Resize::set_method(const ResizeMethod method) { in set_method() 86 ResizeMethod Resize::get_method() const { in get_method() 88 return ResizeMethod(GetValue<int64_t>(value_ptr)); in get_method()
|
/third_party/mindspore/mindspore/core/ops/grad/ |
D | resize_grad.cc | 28 void ResizeGrad::Init(const ResizeMethod method, const bool align_corners) { in Init() 33 void ResizeGrad::set_method(const ResizeMethod method) { in set_method() 42 ResizeMethod ResizeGrad::get_method() const { in get_method() 45 return ResizeMethod(GetValue<int64_t>(value_ptr)); in get_method()
|
D | resize_grad.h | 33 void Init(const ResizeMethod method, const bool align_corners); 34 void set_method(const ResizeMethod method); 36 ResizeMethod get_method() const;
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/ |
D | onnx_resize_parser.cc | 55 std::map<std::string, mindspore::ResizeMethod> resize_mode = { in Parse() 56 {"nearest", mindspore::ResizeMethod::NEAREST}, in Parse() 57 {"linear", mindspore::ResizeMethod::LINEAR}, in Parse() 58 {"cubic", mindspore::ResizeMethod::CUBIC}, in Parse()
|
D | onnx_upsample_parser.cc | 29 prim->set_method(mindspore::ResizeMethod::NEAREST); // use bilinear method in Parse() 38 prim->set_method(onnx_node_attr.s() == "nearest" ? mindspore::ResizeMethod::NEAREST in Parse() 39 : mindspore::ResizeMethod::LINEAR); in Parse()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | tf_resize_parser.cc | 49 prim->set_method(mindspore::ResizeMethod::LINEAR); in Parse() 51 prim->set_method(mindspore::ResizeMethod::NEAREST); in Parse() 53 prim->set_method(mindspore::ResizeMethod::CUBIC); in Parse() 55 prim->set_method(mindspore::ResizeMethod::UNKNOWN); in Parse()
|
D | tf_crop_and_resize_parser.cc | 43 prim->set_method(mindspore::ResizeMethod::LINEAR); in Parse() 45 prim->set_method(mindspore::ResizeMethod::NEAREST); in Parse()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/ |
D | tflite_resize_parser.cc | 57 prim->set_method(mindspore::ResizeMethod::LINEAR); in Parse() 72 prim->set_method(mindspore::ResizeMethod::NEAREST); in Parse()
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/ |
D | resize_base.h | 24 using mindspore::schema::ResizeMethod;
|
D | resize_base.cc | 42 if (method_ == schema::ResizeMethod::ResizeMethod_UNKNOWN) { in CheckParameters()
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/caffe/ |
D | caffe_upsample_parser.cc | 29 prim->set_method(mindspore::ResizeMethod::NEAREST); in Parse()
|
D | caffe_interp_parser.cc | 28 prim->set_method(mindspore::ResizeMethod::LINEAR); in Parse()
|
/third_party/mindspore/mindspore/lite/schema/ |
D | ops_types_generated.h | 21 enum ResizeMethod : int8_t { enum 30 inline const ResizeMethod (&EnumValuesResizeMethod())[4] { in EnumValuesResizeMethod() 31 static const ResizeMethod values[] = { in EnumValuesResizeMethod() 51 inline const char *EnumNameResizeMethod(ResizeMethod e) { in EnumNameResizeMethod()
|
D | ops_types.fbs | 19 enum ResizeMethod: byte {
|
D | ops.fbs | 831 method: ResizeMethod; 1064 method: ResizeMethod; 1105 method: ResizeMethod;
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | resize_int8.h | 25 using mindspore::schema::ResizeMethod;
|
/third_party/mindspore/mindspore/lite/src/delegate/npu/op/ |
D | resize_npu.h | 46 schema::ResizeMethod resize_method_ = schema::ResizeMethod_UNKNOWN;
|
/third_party/mindspore/mindspore/lite/mindir/include/ |
D | mindir_types.h | 106 enum ResizeMethod : int8_t { enum
|
D | mindir.h | 301 PrimitivePtr MindIR_Resize_CreatePrimitive(ResizeMethod method, int64_t new_height, int64_t new_wid… 306 ResizeMethod MindIR_Resize_GetMethod(ConstPrimitivePtr primitive); 307 void MindIR_Resize_SetMethod(PrimitivePtr *primitive, ResizeMethod method);
|
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/nnacl/int8/ |
D | resize_int8_coder.cc | 84 …OR) << "unsupported: " << schema::EnumNameResizeMethod(static_cast<schema::ResizeMethod>(method_)); in DoCode()
|
/third_party/mindspore/mindspore/lite/tools/converter/import/ |
D | primitive_adjust.cc | 482 dst_prim->set_method(ResizeMethod::LINEAR); in MoveAttrMapResize() 484 dst_prim->set_method(ResizeMethod::NEAREST); in MoveAttrMapResize() 527 dst_prim->set_method(ResizeMethod::LINEAR); in MoveAttrMapResizeGrad() 529 dst_prim->set_method(ResizeMethod::NEAREST); in MoveAttrMapResizeGrad()
|