Home
last modified time | relevance | path

Searched refs:RET_OK (Results 1 – 25 of 928) sorted by relevance

12345678910>>...38

/third_party/mindspore/mindspore/lite/src/runtime/kernel/arm/int8/
Dpooling_int8.cc24 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 …]
Dpad_int8.cc26 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/
Dweight_quantizer.cc85 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/
Dscale_fp16.cc29 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 …]
Dfill_fp16.cc26 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 …]
Dpower_fp16.cc25 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 …]
Dpooling_fp16.cc27 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 …]
Dconvolution_winograd_fp16.cc20 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 …]
Dconvolution_fp16.cc27 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/
Dtf_arithmetic_parser.cc58 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/
Dacl_pass.cc78 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/
Dgroup_convolution_base.cc22 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/
Dpooling_fp32.cc27 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 …]
Drelative_position_attention_fp32.cc27 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 …]
Dconvolution_winograd_fp32.cc25 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 …]
Dpower_fp32.cc24 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()
Dadder_fp32.cc29 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 …]
Dglu_fp32.cc29 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 …]
Dfill_fp32.cc27 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/
Dbenchmark_test.cc33 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/
Dsub_graph_kernel.cc35 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/
Dquant_param_parser.cc33 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/
Darithmetic_fp16_self_grad.cc25 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/
Dcropper_flags.cc39 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/
Dnpu_fusion_pass.cc27 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 …]

12345678910>>...38