/third_party/mindspore/mindspore/lite/tools/converter/parser/onnx/ |
D | onnx_resize_parser.cc | 32 prim->set_nearest_mode(mindspore::NearestMode::ROUND_HALF_DOWN); in Parse() 62 std::map<std::string, mindspore::NearestMode> nearest_mode = { in Parse() 63 {"round_prefer_floor", mindspore::NearestMode::ROUND_HALF_DOWN}, in Parse() 64 {"round_prefer_ceil", mindspore::NearestMode::ROUND_HALF_UP}, in Parse() 65 {"floor", mindspore::NearestMode::FLOOR}, in Parse() 66 {"ceil", mindspore::NearestMode::CEIL}, in Parse()
|
/third_party/mindspore/mindspore/core/ops/ |
D | resize.h | 56 const NearestMode nearest_mode); 108 void set_nearest_mode(const NearestMode nearest_mode); 158 NearestMode get_nearest_mode() const;
|
D | resize.cc | 31 const NearestMode nearest_mode) { in Init() 76 void Resize::set_nearest_mode(const NearestMode nearest_mode) { in set_nearest_mode() 124 NearestMode Resize::get_nearest_mode() const { in get_nearest_mode() 126 return NearestMode(GetValue<int64_t>(value_ptr)); in get_nearest_mode()
|
/third_party/mindspore/mindspore/lite/schema/ |
D | ops_types_generated.h | 90 enum NearestMode : int8_t { enum 100 inline const NearestMode (&EnumValuesNearestMode())[5] { in EnumValuesNearestMode() 101 static const NearestMode values[] = { in EnumValuesNearestMode() 123 inline const char *EnumNameNearestMode(NearestMode e) { in EnumNameNearestMode()
|
D | ops_types.fbs | 32 enum NearestMode : byte {
|
D | ops_v0.fbs | 37 enum NearestMode : byte { 416 nearestMode : NearestMode;
|
D | ops.fbs | 839 nearest_mode: NearestMode;
|
D | ops_v0_generated.h | 715 enum NearestMode : int8_t { enum 725 inline const NearestMode (&EnumValuesNearestMode())[5] { in EnumValuesNearestMode() 726 static const NearestMode values[] = { in EnumValuesNearestMode() 748 inline const char *EnumNameNearestMode(NearestMode e) { in EnumNameNearestMode() 4129 mindspore::schema::v0::NearestMode nearestMode() const { in nearestMode() 4130 return static_cast<mindspore::schema::v0::NearestMode>(GetField<int8_t>(VT_NEARESTMODE, 0)); in nearestMode() 4183 void add_nearestMode(mindspore::schema::v0::NearestMode nearestMode) { in add_nearestMode() 4209 mindspore::schema::v0::NearestMode nearestMode = mindspore::schema::v0::NearestMode_NORMAL) {
|
D | ops_generated.h | 8645 mindspore::schema::NearestMode nearest_mode() const { 8646 return static_cast<mindspore::schema::NearestMode>(GetField<int8_t>(VT_NEAREST_MODE, 0)); 8695 void add_nearest_mode(mindspore::schema::NearestMode nearest_mode) { 8720 mindspore::schema::NearestMode nearest_mode = mindspore::schema::NearestMode_NORMAL) {
|
/third_party/mindspore/mindspore/lite/mindir/include/ |
D | mindir_types.h | 119 enum NearestMode : int8_t { enum
|
D | mindir.h | 305 NearestMode nearest_mode); 323 NearestMode MindIR_Resize_GetNearestMode(ConstPrimitivePtr primitive); 324 void MindIR_Resize_SetNearestMode(PrimitivePtr *primitive, NearestMode nearest_mode);
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tflite/ |
D | tflite_resize_parser.cc | 73 prim->set_nearest_mode(mindspore::NearestMode::NORMAL); in Parse()
|
/third_party/mindspore/mindspore/lite/schema/inner/ |
D | ops_types_generated.h | 99 enum NearestMode : int8_t { enum 109 inline const NearestMode (&EnumValuesNearestMode())[5] { in EnumValuesNearestMode() 110 static const NearestMode values[] = { in EnumValuesNearestMode() 132 inline const char *EnumNameNearestMode(NearestMode e) { in EnumNameNearestMode()
|
D | ops_v0_generated.h | 1333 enum NearestMode : int8_t { enum 1343 inline const NearestMode (&EnumValuesNearestMode())[5] { in EnumValuesNearestMode() 1344 static const NearestMode values[] = { in EnumValuesNearestMode() 1366 inline const char *EnumNameNearestMode(NearestMode e) { in EnumNameNearestMode() 5817 mindspore::schema::v0::NearestMode nearestMode = mindspore::schema::v0::NearestMode_NORMAL; 5899 mindspore::schema::v0::NearestMode nearestMode() const { in nearestMode() 5900 return static_cast<mindspore::schema::v0::NearestMode>(GetField<int8_t>(VT_NEARESTMODE, 0)); in nearestMode() 5902 bool mutate_nearestMode(mindspore::schema::v0::NearestMode _nearestMode) { in mutate_nearestMode() 5959 void add_nearestMode(mindspore::schema::v0::NearestMode nearestMode) { in add_nearestMode() 5985 mindspore::schema::v0::NearestMode nearestMode = mindspore::schema::v0::NearestMode_NORMAL) {
|
D | ops_generated.h | 13392 mindspore::schema::NearestMode nearest_mode = mindspore::schema::NearestMode_NORMAL; 13467 mindspore::schema::NearestMode nearest_mode() const { 13468 return static_cast<mindspore::schema::NearestMode>(GetField<int8_t>(VT_NEAREST_MODE, 0)); 13470 bool mutate_nearest_mode(mindspore::schema::NearestMode _nearest_mode) { 13523 void add_nearest_mode(mindspore::schema::NearestMode nearest_mode) { 13548 mindspore::schema::NearestMode nearest_mode = mindspore::schema::NearestMode_NORMAL) {
|
/third_party/mindspore/mindspore/lite/mindir/src/ |
D | mindir.cc | 3040 NearestMode nearest_mode) { in MindIR_Resize_CreatePrimitive() 3045 exclude_outside, extrapolation_value, static_cast<schema::NearestMode>(nearest_mode)); in MindIR_Resize_CreatePrimitive() 3079 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetMethod() 3114 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetNewHeight() 3149 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetNewWidth() 3184 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetPreserveAspectRatio() 3222 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetCoordinateTransformMode() 3257 static_cast<schema::NearestMode>(value->nearest_mode())); in MindIR_Resize_SetCubicCoeff() 3291 …exclude_outside, value->extrapolation_value(), static_cast<schema::NearestMode>(value->nearest_mod… in MindIR_Resize_SetExcludeOutside() 3325 …value->exclude_outside(), extrapolation_value, static_cast<schema::NearestMode>(value->nearest_mod… in MindIR_Resize_SetExtrapolationValue() [all …]
|
D | mindir_nnrt_lite_graph_to_model.cc | 944 resize.nearestMode = static_cast<HDI::Nnrt::V1_0::NearestMode>(value->nearest_mode()); in ConvertResize()
|
/third_party/mindspore/mindspore/core/utils/ |
D | check_convert_utils.h | 124 enum class NearestMode : int64_t { NORMAL = 0, ROUND_HALF_DOWN = 1, ROUND_HALF_UP = 2, FLOOR = 3, C… enum
|
/third_party/mindspore/mindspore/lite/src/ops/ |
D | ops_def.cc | 839 OP_ATTR_ENUM(nearest_mode, NearestMode)
|