Home
last modified time | relevance | path

Searched refs:kTfLiteError (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dimage_classification_stage.cc37 return kTfLiteError; in Init()
42 return kTfLiteError; in Init()
52 return kTfLiteError; in Init()
58 return kTfLiteError; in Init()
66 return kTfLiteError; in Init()
80 if (preprocessing_stage_->Init() != kTfLiteOk) return kTfLiteError; in Init()
91 return kTfLiteError; in Init()
97 if (accuracy_eval_stage_->Init() != kTfLiteOk) return kTfLiteError; in Init()
106 return kTfLiteError; in Run()
111 if (preprocessing_stage_->Run() != kTfLiteOk) return kTfLiteError; in Run()
[all …]
Dtopk_accuracy_eval_stage.cc43 return kTfLiteError; in Init()
49 return kTfLiteError; in Init()
54 return kTfLiteError; in Init()
59 return kTfLiteError; in Init()
66 return kTfLiteError; in Init()
71 return kTfLiteError; in Init()
79 return kTfLiteError; in Run()
83 return kTfLiteError; in Run()
Dtflite_inference_stage.cc59 return kTfLiteError; in ResizeInputs()
79 return kTfLiteError; in ApplyCustomDelegate()
98 return kTfLiteError; in Init()
103 return kTfLiteError; in Init()
108 return kTfLiteError; in Init()
116 return kTfLiteError; in Init()
150 return kTfLiteError; in Run()
165 return kTfLiteError; in Run()
Dobject_detection_stage.cc33 return kTfLiteError; in Init()
38 return kTfLiteError; in Init()
42 return kTfLiteError; in Init()
57 return kTfLiteError; in Init()
65 return kTfLiteError; in Init()
94 return kTfLiteError; in Run()
164 return kTfLiteError; in PopulateGroundTruth()
Dtopk_accuracy_eval_stage_test.cc62 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
80 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
96 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
114 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
130 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
146 EXPECT_EQ(stage.Init(), kTfLiteError); in TEST()
164 EXPECT_EQ(stage.Run(), kTfLiteError); in TEST()
185 EXPECT_EQ(stage.Run(), kTfLiteError); in TEST()
Dinference_profiler_stage.cc76 if (test_stage_->Init(delegate_providers) != kTfLiteOk) return kTfLiteError; in Init()
90 if (reference_stage_->Init() != kTfLiteOk) return kTfLiteError; in Init()
103 return kTfLiteError; in Init()
123 return kTfLiteError; in Init()
163 if (test_stage_->Run() != kTfLiteOk) return kTfLiteError; in Run()
164 if (reference_stage_->Run() != kTfLiteOk) return kTfLiteError; in Run()
/external/tensorflow/tensorflow/lite/micro/kernels/arc_mli/
Dscratch_buf_mgr.cc99 if (in->data == NULL) return kTfLiteError; in get_arc_scratch_buffer_for_io_tensors()
104 if (out->data == NULL) return kTfLiteError; in get_arc_scratch_buffer_for_io_tensors()
129 if (max_weights_size == 0) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_conv_tensors()
131 if (weights->data == NULL) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_conv_tensors()
150 if (max_bias_size == 0) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_conv_tensors()
152 if (bias->data == NULL) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_conv_tensors()
180 ret_val = kTfLiteError; in get_arc_scratch_buffer_for_fully_connect_tensors()
194 if (max_weights_size == 0) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_fully_connect_tensors()
196 if (weights->data == NULL) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_fully_connect_tensors()
218 if (max_out_size == 0) ret_val = kTfLiteError; in get_arc_scratch_buffer_for_fully_connect_tensors()
[all …]
/external/tensorflow/tensorflow/lite/
Dinterpreter_builder.cc83 return kTfLiteError; in Copy()
97 return kTfLiteError; in ParseSparseIndexVector()
112 status = kTfLiteError; in ParseSparseIndexVector()
127 return kTfLiteError; in ParseSparseIndexVector()
304 status = kTfLiteError; in ParseNodes()
312 status = kTfLiteError; in ParseNodes()
367 return kTfLiteError; in ParseQuantization()
378 return kTfLiteError; in ParseQuantization()
390 return kTfLiteError; in ParseQuantization()
402 return kTfLiteError; in ParseQuantization()
[all …]
/external/tensorflow/tensorflow/lite/delegates/hexagon/
Dhexagon_delegate_kernel.cc51 return kTfLiteError; in Init()
58 return kTfLiteError; in Init()
65 return kTfLiteError; in Init()
71 return kTfLiteError; in Init()
77 return kTfLiteError; in Init()
93 return kTfLiteError; in Eval()
109 return kTfLiteError; in Eval()
132 return kTfLiteError; in Eval()
151 return kTfLiteError; in Eval()
162 if (!params_.enable_dynamic_batch_size) return kTfLiteError; in ResizeOutputTensors()
[all …]
/external/tensorflow/tensorflow/lite/micro/
Dmicro_interpreter.cc119 initialization_status_(kTfLiteError), in MicroInterpreter()
137 initialization_status_(kTfLiteError), in MicroInterpreter()
166 initialization_status_ = kTfLiteError; in Init()
187 initialization_status_ = kTfLiteError; in AllocateTensors()
188 return kTfLiteError; in AllocateTensors()
235 return kTfLiteError; in AllocateTensors()
264 return kTfLiteError; in AllocateTensors()
273 return kTfLiteError; in AllocateTensors()
288 return kTfLiteError; in AllocateTensors()
297 return kTfLiteError; in AllocateTensors()
[all …]
Dmicro_allocator.cc129 return kTfLiteError; in CheckOfflinePlannedOffsets()
135 return kTfLiteError; in CheckOfflinePlannedOffsets()
142 return kTfLiteError; in CheckOfflinePlannedOffsets()
262 return kTfLiteError; in AddTensors()
308 return kTfLiteError; in GetOfflinePlannedOffsets()
416 return kTfLiteError; in FlatBufferVectorToTfLiteTypeArray()
535 return kTfLiteError; in InitializeTfLiteTensorFromFlatbuffer()
552 return kTfLiteError; in InitializeTfLiteTensorFromFlatbuffer()
637 return kTfLiteError; in StartModelAllocation()
659 return kTfLiteError; in FinishModelAllocation()
[all …]
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dxnnpack_delegate.cc304 return kTfLiteError; in Invoke()
313 return kTfLiteError; in Invoke()
334 return kTfLiteError; in CalculatePadding()
362 return kTfLiteError; in ConvertActivationToOutputRange()
367 return kTfLiteError; in ConvertActivationToOutputRange()
372 return kTfLiteError; in ConvertActivationToOutputRange()
377 return kTfLiteError; in ConvertActivationToOutputRange()
387 return kTfLiteError; in CheckConvolutionParams()
392 return kTfLiteError; in CheckConvolutionParams()
399 return kTfLiteError; in CheckConvolutionParams()
[all …]
/external/tensorflow/tensorflow/lite/core/api/
Dop_resolver.cc40 status = kTfLiteError; in GetRegistrationFromOpCode()
50 status = kTfLiteError; in GetRegistrationFromOpCode()
56 status = kTfLiteError; in GetRegistrationFromOpCode()
63 status = kTfLiteError; in GetRegistrationFromOpCode()
/external/tensorflow/tensorflow/lite/kernels/
Dgather_nd.cc57 return kTfLiteError; in Prepare()
67 return kTfLiteError; in Prepare()
75 return kTfLiteError; in Prepare()
79 return kTfLiteError; in Prepare()
84 return kTfLiteError; in Prepare()
145 return kTfLiteError; in EvalGatherNd()
167 return kTfLiteError; in Eval()
Darg_min_max.cc92 return kTfLiteError; in Prepare()
108 return kTfLiteError; in Prepare()
170 return kTfLiteError; in Eval()
192 return kTfLiteError; in Eval()
199 return kTfLiteError; in Eval()
222 return kTfLiteError; in Eval()
244 return kTfLiteError; in Eval()
251 return kTfLiteError; in Eval()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantize_model.cc148 return kTfLiteError; in QuantizeBias()
161 return kTfLiteError; in QuantizeBias()
167 return kTfLiteError; in QuantizeBias()
174 return kTfLiteError; in QuantizeBias()
191 return kTfLiteError; in QuantizeBias()
205 return kTfLiteError; in QuantizeBias()
403 return kTfLiteError; in SetInputAndOutputTypes()
421 return kTfLiteError; in SetInputAndOutputTypes()
468 return kTfLiteError; in ApplyConstraints()
479 return kTfLiteError; in ApplyConstraints()
[all …]
Dquantization_utils.cc48 return kTfLiteError; in NumElements()
120 return kTfLiteError; in GetQuantizationParams()
143 return kTfLiteError; in FillPerChannelMinMax()
149 return kTfLiteError; in FillPerChannelMinMax()
156 return kTfLiteError; in FillPerChannelMinMax()
200 return kTfLiteError; in GetSymmetricScalesFromMaxMin()
205 return kTfLiteError; in GetSymmetricScalesFromMaxMin()
210 return kTfLiteError; in GetSymmetricScalesFromMaxMin()
244 return kTfLiteError; in AdjustWeightsForBiasScale()
254 return kTfLiteError; in AdjustWeightsForBiasScale()
[all …]
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Dinput_generator.cc90 return kTfLiteError; in LoadModel()
97 return kTfLiteError; in LoadModel()
106 return kTfLiteError; in ReadInputsFromFile()
121 return kTfLiteError; in WriteInputsToFile()
128 return kTfLiteError; in WriteInputsToFile()
198 return kTfLiteError; in GenerateInput()
Ddiff_analyzer.cc60 return kTfLiteError; in Populate()
80 return kTfLiteError; in ReadFiles()
89 return kTfLiteError; in WriteReport()
96 return kTfLiteError; in WriteReport()
/external/tensorflow/tensorflow/lite/delegates/coreml/
Dcoreml_delegate_kernel.mm32 return kTfLiteError;
69 return kTfLiteError;
75 return kTfLiteError;
80 return kTfLiteError;
129 return kTfLiteError;
133 return kTfLiteError;
137 return kTfLiteError;
141 return kTfLiteError;
147 return kTfLiteError;
219 return kTfLiteError;
[all …]
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dsoftmax_op_builder.cc41 return kTfLiteError; in RegisterInputs()
51 return kTfLiteError; in RegisterOutputs()
56 return kTfLiteError; in RegisterOutputs()
/external/tensorflow/tensorflow/compiler/mlir/lite/quantization/lite/
Dquantize_model.cc53 return kTfLiteError; in QuantizeModel()
76 return kTfLiteError; in QuantizeModel()
106 return kTfLiteError; in QuantizeModel()
118 return kTfLiteError; in QuantizeModel()
/external/tensorflow/tensorflow/lite/delegates/flex/
Ddelegate.cc75 return kTfLiteError; in Initialize()
105 return kTfLiteError; in CopyFromBufferHandle()
115 return kTfLiteError; in CopyFromBufferHandle()
137 return kTfLiteError; in CopyFromBufferHandle()
/external/tensorflow/tensorflow/compiler/mlir/lite/sparsity/
Dsparsify_model.cc57 return kTfLiteError; in SparsifyModel()
66 return kTfLiteError; in SparsifyModel()
78 return kTfLiteError; in SparsifyModel()
/external/tensorflow/tensorflow/lite/micro/kernels/
Dfloor_div.cc63 return kTfLiteError; in Prepare()
67 return kTfLiteError; in Prepare()
80 return kTfLiteError; in EvalImpl()
124 return kTfLiteError; in Eval()

12345678910>>...14