/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/ |
D | pooling_int8.cc | 24 using mindspore::lite::RET_OK; 34 if (ret != RET_OK) { in Init() 39 if (ret != RET_OK) { in Init() 44 return RET_OK; in Init() 52 if (ret != RET_OK) { in ReSize() 58 if (ret != RET_OK) { in ReSize() 62 return RET_OK; in ReSize() 79 if (ret != RET_OK) { in RunImpl() 84 return RET_OK; in RunImpl() 90 if (error_code != RET_OK) { in PoolingInt8Impl() [all …]
|
D | pad_int8.cc | 26 using mindspore::lite::RET_OK; 85 return RET_OK; in SetQuantParam() 104 return RET_OK; in InitPadParam() 109 if (error_code != RET_OK) { in ReSize() 113 return RET_OK; in ReSize() 124 if (error_code != RET_OK) { in Init() 129 return RET_OK; in Init() 145 if (error_code != RET_OK) { in PadInt8Impl() 149 return RET_OK; in PadInt8Impl() 154 if (ret != RET_OK) { in HandleMirrorPad() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/quantizer/ |
D | weight_quantizer.cc | 85 return RET_OK; in SetAbstract() 111 return RET_OK; in DoConvQuantize() 126 return RET_OK; in DoConvQuantize() 127 } else if (status != RET_OK) { in DoConvQuantize() 132 if (status != RET_OK) { in DoConvQuantize() 136 return RET_OK; in DoConvQuantize() 173 } else if (status != RET_OK) { in DoMulQuantize() 179 if (status != RET_OK) { in DoMulQuantize() 187 return RET_OK; in DoMulQuantize() 203 if (status != RET_OK) { in DoLstmQuantize() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16/ |
D | scale_fp16.cc | 29 using mindspore::lite::RET_OK; 43 return RET_OK; in InitScaleOffset() 54 return RET_OK; in Init() 57 if (ret != RET_OK) { in Init() 61 return RET_OK; in Init() 66 if (ret != RET_OK) { in ReSize() 71 return RET_OK; in ReSize() 89 return RET_OK; in Scale() 95 if (ret != RET_OK) { in ScaleFp16Run() 99 return RET_OK; in ScaleFp16Run() [all …]
|
D | fill_fp16.cc | 26 using mindspore::lite::RET_OK; 34 return RET_OK; in Init() 49 return RET_OK; in ReSize() 55 return RET_OK; in DoFill() 58 int ret = RET_OK; in DoFill() 60 if (ret != RET_OK) { in DoFill() 64 return RET_OK; in DoFill() 71 if (ret != RET_OK) { in FillRunFp16() 75 return RET_OK; in FillRunFp16() 89 if (ret != RET_OK) { in Run() [all …]
|
D | power_fp16.cc | 25 using mindspore::lite::RET_OK; 36 if (ret != RET_OK) { in Init() 41 return RET_OK; in Init() 44 int PowerFp16CPUKernel::ReSize() { return RET_OK; } in ReSize() 69 return RET_OK; in GetExpData() 76 if (ret != RET_OK) { in PowerImplFp16() 80 return RET_OK; in PowerImplFp16() 86 if (ret != RET_OK) { in Run() 92 if (ret != RET_OK) { in Run() 96 return RET_OK; in Run() [all …]
|
D | pooling_fp16.cc | 27 using mindspore::lite::RET_OK; 34 if (ret != RET_OK) { in Init() 40 return RET_OK; in Init() 47 if (ret != RET_OK) { in ReSize() 51 return RET_OK; in ReSize() 70 if (ret != RET_OK) { in RunImpl() 75 return RET_OK; in RunImpl() 81 if (error_code != RET_OK) { in PoolingFp16Impl() 85 return RET_OK; in PoolingFp16Impl() 97 if (error_code != RET_OK) { in Run() [all …]
|
D | convolution_winograd_fp16.cc | 20 using mindspore::lite::RET_OK; 65 if (ret != RET_OK) { in MallocWeightBiasData() 78 return RET_OK; in MallocWeightBiasData() 123 return RET_OK; in InitTmpBuffer() 137 return RET_OK; in ConfigInputOutput() 165 if (ret != RET_OK) { in Init() 169 return RET_OK; in Init() 181 return RET_OK; in AdjustNumberOfThread() 186 if (ret != RET_OK) { in ReSize() 191 if (ret != RET_OK) { in ReSize() [all …]
|
D | convolution_fp16.cc | 27 using mindspore::lite::RET_OK; 74 return RET_OK; in MallocWeightBiasData() 92 return RET_OK; in InitTmpBuffer() 116 if (ret != RET_OK) { in Init() 120 return RET_OK; in Init() 129 return RET_OK; in AdjustNumberOfThread() 134 if (ret != RET_OK) { in ReSize() 139 if (ret != RET_OK) { in ReSize() 143 return RET_OK; in ReSize() 160 return RET_OK; in RunImpl() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | tf_arithmetic_parser.cc | 58 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 72 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 86 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 100 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 114 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 128 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 142 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 156 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 170 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() 184 if (AddOpInput(tf_op, 0, inputs) != RET_OK || AddOpInput(tf_op, 1, inputs) != RET_OK) { in Parse() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/acl/ |
D | acl_pass.cc | 78 if (ConvertGraphToOm(func_graph, &om_data) != lite::RET_OK) { in BuildGraph() 87 return lite::RET_OK; in BuildGraph() 115 if (status != lite::RET_OK) { in RunPrimitiveMapper() 121 return lite::RET_OK; in RunPrimitiveMapper() 127 return lite::RET_OK; in DeparseGraph() 129 if (RunPrimitiveMapper(func_graph) != lite::RET_OK) { in DeparseGraph() 134 if (lite::AdapteSpatialNode(func_graph, manager) != lite::RET_OK) { in DeparseGraph() 138 return lite::RET_OK; in DeparseGraph() 144 return lite::RET_OK; in PreProcGraph() 151 return lite::RET_OK; in PreProcGraph() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/base/ |
D | group_convolution_base.cc | 22 using mindspore::lite::RET_OK; 33 if (ret != RET_OK) { in Init() 39 return RET_OK; in Init() 45 if (ret != RET_OK) { in ReSize() 55 return RET_OK; in ReSize() 102 if (ret != RET_OK) { in PreProcess() 114 if (ret != RET_OK) { in PreProcess() 122 if (ret != RET_OK) { in PreProcess() 132 if (ret != RET_OK) { in PreProcess() 139 return RET_OK; in PreProcess() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp32/ |
D | pooling_fp32.cc | 27 using mindspore::lite::RET_OK; 34 if (ret != RET_OK) { in Init() 39 return RET_OK; in Init() 46 if (ret != RET_OK) { in ReSize() 50 return RET_OK; in ReSize() 72 if (ret != RET_OK) { in RunImpl() 76 return RET_OK; in RunImpl() 82 if (error_code != RET_OK) { in PoolingImpl() 86 return RET_OK; in PoolingImpl() 91 if (error_code != RET_OK) { in Run() [all …]
|
D | relative_position_attention_fp32.cc | 27 using mindspore::lite::RET_OK; 97 return RET_OK; in CheckInputs() 151 return RET_OK; in CheckWeights() 169 return RET_OK; in CheckBiases() 207 return RET_OK; in CheckBiases() 252 return RET_OK; in PrepareParam() 291 return RET_OK; in MallocLeftTensor() 310 return RET_OK; in MallocRightTensor() 374 return RET_OK; in PrepareWeights() 380 return RET_OK; in PrepareBiases() [all …]
|
D | convolution_winograd_fp32.cc | 25 using mindspore::lite::RET_OK; 76 return RET_OK; in InitTmpBuffer() 90 return RET_OK; in ConfigInputOutput() 116 if (ret != RET_OK) { in Init() 120 return RET_OK; in Init() 125 if (ret != RET_OK) { in ReSize() 130 if (ret != RET_OK) { in ReSize() 135 if (ret != RET_OK) { in ReSize() 140 return RET_OK; in ReSize() 154 return RET_OK; in RunImpl() [all …]
|
D | power_fp32.cc | 24 using mindspore::lite::RET_OK; 31 return RET_OK; in Init() 34 int PowerCPUKernel::ReSize() { return RET_OK; } in ReSize() 41 if (ret != RET_OK) { in PowerImpl() 45 return RET_OK; in PowerImpl() 50 if (ret != RET_OK) { in Run() 54 return RET_OK; in Run() 66 return RET_OK; in RunImpl() 84 if (error_code != RET_OK) { in RunImpl() 88 return RET_OK; in RunImpl()
|
D | adder_fp32.cc | 29 using mindspore::lite::RET_OK; 41 if (ret != RET_OK) { in Init() 46 return RET_OK; in Init() 53 if (ret != RET_OK) { in ReSize() 59 if (ret != RET_OK) { in ReSize() 63 return RET_OK; in ReSize() 107 return RET_OK; in InitWeightBias() 119 return RET_OK; in RunImpl() 126 if (error_code != RET_OK) { in AdderImpl() 130 return RET_OK; in AdderImpl() [all …]
|
D | glu_fp32.cc | 29 using mindspore::lite::RET_OK; 49 return RET_OK; in MallocTmpBuffer() 67 return RET_OK; in Init() 83 if (RET_OK != status) { in ReSize() 96 return RET_OK; in ReSize() 104 return RET_OK; in Split() 110 if (ret != RET_OK) { in Split() 114 return RET_OK; in Split() 126 return RET_OK; in Sigmoid() 141 return RET_OK; in Mul() [all …]
|
D | fill_fp32.cc | 27 using mindspore::lite::RET_OK; 35 return RET_OK; in Init() 48 return RET_OK; in ReSize() 54 return RET_OK; in DoFill() 58 int ret = RET_OK; in DoFill() 66 if (ret != RET_OK) { in DoFill() 70 return RET_OK; in DoFill() 77 if (ret != RET_OK) { in FillRun() 81 return RET_OK; in FillRun() 106 if (ret != RET_OK) { in Run() [all …]
|
/third_party/mindspore/mindspore/lite/test/st/ |
D | benchmark_test.cc | 33 ASSERT_EQ(status, RET_OK); in TEST_F() 41 ASSERT_EQ(status, RET_OK); in TEST_F() 48 ASSERT_EQ(status, RET_OK); in TEST_F() 54 ASSERT_EQ(status, RET_OK); in TEST_F() 61 ASSERT_EQ(status, RET_OK); in TEST_F() 68 ASSERT_EQ(status, RET_OK); in TEST_F() 76 ASSERT_EQ(status, RET_OK); in TEST_F() 87 ASSERT_EQ(converter_ret, lite::RET_OK); in TEST_F() 98 ASSERT_EQ(converter_ret, lite::RET_OK); in TEST_F() 109 ASSERT_EQ(converter_ret, lite::RET_OK); in TEST_F()
|
/third_party/mindspore/mindspore/lite/src/ |
D | sub_graph_kernel.cc | 35 using mindspore::lite::RET_OK; 44 if (ret != RET_OK) { in Prepare() 49 return RET_OK; in Prepare() 84 if (ret != RET_OK) { in Execute() 89 return lite::RET_OK; in Execute() 126 } else if (ret != RET_OK) { in ReSize() 131 if (ret == RET_OK) { in ReSize() 133 if (ret != RET_OK) { in ReSize() 139 return RET_OK; in ReSize() 166 if (ret != RET_OK) { in Prepare() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/config_parser/ |
D | quant_param_parser.cc | 33 if (ret != RET_OK) { in ParseCommonQuant() 73 return RET_OK; in ParseCommonQuant() 79 return RET_OK; in ParseMixedBitWeightQuant() 89 return RET_OK; in ParseMixedBitWeightQuant() 95 RET_OK) { in ParseFullQuant() 104 return RET_OK; in ParseFullQuant() 110 return RET_OK; in ParseQuantType() 113 return RET_OK; in ParseQuantType() 116 return RET_OK; in ParseQuantType() 127 return RET_OK; in ParseActivationQuantizedMethod() [all …]
|
/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/fp16_grad/ |
D | arithmetic_fp16_self_grad.cc | 25 using mindspore::lite::RET_OK; 38 return RET_OK; in Init() 41 int ArithmeticSelfGradFp16CPUKernel::ReSize() { return RET_OK; } in ReSize() 56 auto error_code = RET_OK; in DoActivation() 64 if (error_code != RET_OK) { in DoActivation() 67 return RET_OK; in DoActivation() 74 if (error_code != RET_OK) { in ArithmeticSelfGradFp16Run() 78 return RET_OK; in ArithmeticSelfGradFp16Run() 83 if (error_code != RET_OK) { in Run() 87 return RET_OK; in Run()
|
/third_party/mindspore/mindspore/lite/tools/cropper/ |
D | cropper_flags.cc | 39 if (ValidFileSuffix(this->package_file_, "a") != RET_OK) { in CheckPackageFile() 47 return RET_OK; in CheckPackageFile() 63 return RET_OK; in CheckModelFile() 75 return RET_OK; in CheckConfigFile() 82 if (ValidFileSuffix(this->output_file_, "a") != RET_OK) { in CheckOutputFile() 96 return RET_OK; in CheckOutputFile() 124 if (status != RET_OK) { in Init() 129 if (status != RET_OK) { in Init() 134 if (status != RET_OK) { in Init() 139 if (status != RET_OK) { in Init() [all …]
|
/third_party/mindspore/mindspore/lite/src/delegate/npu/pass/ |
D | npu_fusion_pass.cc | 27 using mindspore::lite::RET_OK; 100 return RET_OK; in UpdatePreOps() 130 return RET_OK; in UpdatePostOps() 167 return RET_OK; in UpdatePreTensors() 198 return RET_OK; in UpdatePostTensors() 222 return RET_OK; in UpdatePostTensors() 231 if (ret != RET_OK) { in UpdateOp() 236 if (ret != RET_OK) { in UpdateOp() 241 if (ret != RET_OK) { in UpdateOp() 246 if (ret != RET_OK) { in UpdateOp() [all …]
|