Home
last modified time | relevance | path

Searched refs:PoolMode (Results 1 – 17 of 17) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/backend/kernel_compiler/cpu/nnacl/
Dpooling_parameter.h21 typedef enum PoolMode { PoolMode_No, PoolMode_MaxPool, PoolMode_AvgPool } PoolMode; enum
28 PoolMode pool_mode_;
/third_party/mindspore/mindspore/core/ops/grad/
Dpooling_grad.h35 …void Init(const PoolMode &pool_mode, const std::vector<int64_t> &window, const std::vector<int64_t…
38 void set_pool_mode(const PoolMode &pool_mode);
50 PoolMode get_pool_mode() const;
Dpooling_grad.cc22 void PoolingGrad::Init(const PoolMode &pool_mode, const std::vector<int64_t> &window, in Init()
36 void PoolingGrad::set_pool_mode(const PoolMode &pool_mode) { in set_pool_mode()
41 PoolMode PoolingGrad::get_pool_mode() const { in get_pool_mode()
43 return PoolMode(GetValue<int64_t>(value_ptr)); in get_pool_mode()
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/
Dpooling_fp16_grad.h25 using mindspore::schema::PoolMode;
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32_grad/
Dpooling_grad.h25 using mindspore::schema::PoolMode;
/third_party/mindspore/mindspore/lite/schema/
Dops_types_generated.h342 enum PoolMode : int8_t { enum
349 inline const PoolMode (&EnumValuesPoolMode())[2] { in EnumValuesPoolMode()
350 static const PoolMode values[] = { in EnumValuesPoolMode()
366 inline const char *EnumNamePoolMode(PoolMode e) { in EnumNamePoolMode()
Dops_types.fbs96 enum PoolMode : byte {
Dops_v0.fbs97 enum PoolMode : byte {
304 poolingMode: PoolMode;
350 poolingMode: PoolMode;
Dops_v0_generated.h948 enum PoolMode : int8_t { enum
955 inline const PoolMode (&EnumValuesPoolMode())[2] { in EnumValuesPoolMode()
956 static const PoolMode values[] = { in EnumValuesPoolMode()
972 inline const char *EnumNamePoolMode(PoolMode e) { in EnumNamePoolMode()
3067 mindspore::schema::v0::PoolMode poolingMode() const { in poolingMode()
3068 return static_cast<mindspore::schema::v0::PoolMode>(GetField<int8_t>(VT_POOLINGMODE, 0)); in poolingMode()
3129 void add_poolingMode(mindspore::schema::v0::PoolMode poolingMode) { in add_poolingMode()
3179 mindspore::schema::v0::PoolMode poolingMode = mindspore::schema::v0::PoolMode_MAX_POOLING,
3543 mindspore::schema::v0::PoolMode poolingMode() const { in poolingMode()
3544 return static_cast<mindspore::schema::v0::PoolMode>(GetField<int8_t>(VT_POOLINGMODE, 0)); in poolingMode()
[all …]
/third_party/mindspore/mindspore/lite/micro/example/mnist_x86/src/
Dnet.c90 const PoolingParameter pooling_parameter = {{ "", false, 92, g_thread_num, 0}, (PoolMode)(1), (Roun… in Inference()
119 const PoolingParameter pooling_parameter = {{ "", false, 92, g_thread_num, 0}, (PoolMode)(1), (Roun… in Inference()
/third_party/mindspore/mindspore/lite/micro/coder/opcoders/serializers/nnacl_serializer/
Dnnacl_stream_utils.h38 std::ostream &operator<<(std::ostream &code, PoolMode pool_mode);
Dnnacl_stream_utils.cc50 std::ostream &operator<<(std::ostream &code, PoolMode pool_mode) { in operator <<()
/third_party/mindspore/mindspore/lite/test/ut/src/runtime/kernel/opencl/
Dpooling_tests.cc25 OpParameter *CreateParameter(PoolMode pool_mode, int window_h, int window_w, int stride_h, int stri… in CreateParameter()
/third_party/mindspore/mindspore/lite/mindir/include/
Dmindir_types.h162 enum PoolMode : int8_t { enum
/third_party/mindspore/mindspore/lite/schema/inner/
Dops_types_generated.h351 enum PoolMode : int8_t { enum
358 inline const PoolMode (&EnumValuesPoolMode())[2] { in EnumValuesPoolMode()
359 static const PoolMode values[] = { in EnumValuesPoolMode()
375 inline const char *EnumNamePoolMode(PoolMode e) { in EnumNamePoolMode()
Dops_v0_generated.h1566 enum PoolMode : int8_t { enum
1573 inline const PoolMode (&EnumValuesPoolMode())[2] { in EnumValuesPoolMode()
1574 static const PoolMode values[] = { in EnumValuesPoolMode()
1590 inline const char *EnumNamePoolMode(PoolMode e) { in EnumNamePoolMode()
4356 mindspore::schema::v0::PoolMode poolingMode = mindspore::schema::v0::PoolMode_MAX_POOLING;
4397 mindspore::schema::v0::PoolMode poolingMode() const { in poolingMode()
4398 return static_cast<mindspore::schema::v0::PoolMode>(GetField<int8_t>(VT_POOLINGMODE, 0)); in poolingMode()
4400 bool mutate_poolingMode(mindspore::schema::v0::PoolMode _poolingMode) { in mutate_poolingMode()
4498 void add_poolingMode(mindspore::schema::v0::PoolMode poolingMode) { in add_poolingMode()
4548 mindspore::schema::v0::PoolMode poolingMode = mindspore::schema::v0::PoolMode_MAX_POOLING,
[all …]
/third_party/mindspore/mindspore/core/utils/
Dcheck_convert_utils.h109 enum PoolMode : int64_t { enum