Home
last modified time | relevance | path

Searched refs:error_reporter_ (Results 1 – 25 of 34) sorted by relevance

12

/external/tensorflow/tensorflow/lite/
Dinterpreter_builder.cc197 error_reporter_(ValidateErrorReporter(model.error_reporter())), in InterpreterBuilder()
205 error_reporter_(ValidateErrorReporter(error_reporter)) {} in InterpreterBuilder()
228 status = GetRegistrationFromOpCode(opcode, op_resolver_, error_reporter_, in BuildLocalIndexToRegistrationMapping()
237 error_reporter_->Report( in BuildLocalIndexToRegistrationMapping()
302 error_reporter_->Report("Missing registration for opcode_index %d\n", in ParseNodes()
311 error_reporter_->Report("Skipping op for opcode_index %d\n", index); in ParseNodes()
320 error_reporter_->Report( in ParseNodes()
343 TF_LITE_ENSURE_STATUS(ParseOpData(op, op_type, error_reporter_, in ParseNodes()
365 error_reporter_->Report( in ParseQuantization()
373 error_reporter_->Report( in ParseQuantization()
[all …]
Dallocation.cc37 error_reporter_->Report("Could not open '%s'.", filename); in FileCopyAllocation()
49 error_reporter_->Report("Failed to get file size of '%s'.", filename); in FileCopyAllocation()
56 error_reporter_->Report("Malloc of buffer to hold copy of '%s' failed.", in FileCopyAllocation()
63 error_reporter_->Report("Read of '%s' failed (too few bytes read).", in FileCopyAllocation()
Dinterpreter.cc89 : error_reporter_(error_reporter ? error_reporter in Interpreter()
141 error_reporter_->Report( in SetExternalContext()
207 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateTensors()
214 error_reporter_, in AllocateTensors()
220 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateTensors()
226 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateTensors()
249 Subgraph* subgraph = new Subgraph(error_reporter_, external_contexts_, in AddSubgraphs()
Dmodel_builder.cc165 error_reporter_, in GetMinimumRuntime()
176 error_reporter_->Report( in CheckModelIdentifier()
186 : model_(model), error_reporter_(ValidateErrorReporter(error_reporter)) {} in FlatBufferModel()
190 : error_reporter_(ValidateErrorReporter(error_reporter)), in FlatBufferModel()
Dmmap_allocation.cc33 error_reporter_->Report("Could not open '%s'.", filename); in MMAPAllocation()
42 error_reporter_->Report("Mmap of '%s' failed.", filename); in MMAPAllocation()
Dmodel_builder.h132 ErrorReporter* error_reporter() const { return error_reporter_; } in error_reporter()
167 ErrorReporter* error_reporter_; variable
Dallocation.h55 : error_reporter_(error_reporter), type_(type) {} in Allocation()
56 ErrorReporter* error_reporter_; variable
Dinterpreter_builder.h107 ErrorReporter* error_reporter_; variable
/external/tensorflow/tensorflow/lite/micro/
Dmicro_interpreter.cc51 : allocator_(allocator), error_reporter_(error_reporter), model_(model) {} in ContextHelper()
78 TF_LITE_REPORT_ERROR(helper->error_reporter_, format, args); in ReportOpError()
115 error_reporter_(error_reporter), in MicroInterpreter()
121 context_helper_(error_reporter_, &allocator_, model), in MicroInterpreter()
134 error_reporter_(error_reporter), in MicroInterpreter()
139 context_helper_(error_reporter_, &allocator_, model), in MicroInterpreter()
164 TF_LITE_REPORT_ERROR(error_reporter_, in Init()
185 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateTensors()
232 error_reporter_, in AllocateTensors()
260 error_reporter_, in AllocateTensors()
[all …]
Dmicro_error_reporter.cc29 tflite::MicroErrorReporter* error_reporter_ = nullptr; variable
58 if (error_reporter_ == nullptr) { in GetMicroErrorReporter()
59 error_reporter_ = new (micro_error_reporter_buffer) MicroErrorReporter(); in GetMicroErrorReporter()
65 error_reporter_ = new (micro_error_reporter_buffer) MicroErrorReporter(); in GetMicroErrorReporter()
68 return error_reporter_; in GetMicroErrorReporter()
Dmicro_allocator.cc601 error_reporter_(error_reporter), in MicroAllocator()
634 TF_LITE_REPORT_ERROR(error_reporter_, in StartModelAllocation()
656 TF_LITE_REPORT_ERROR(error_reporter_, in FinishModelAllocation()
697 error_reporter_, in RequestScratchBufferInArena()
766 error_reporter_, in AllocateNodeAndRegistrations()
790 TF_LITE_REPORT_ERROR(error_reporter_, in PrepareNodeAndRegistrationDataFromFlatbuffer()
796 GetRegistrationFromOpCode(opcode, op_resolver, error_reporter_, in PrepareNodeAndRegistrationDataFromFlatbuffer()
799 TF_LITE_REPORT_ERROR(error_reporter_, in PrepareNodeAndRegistrationDataFromFlatbuffer()
806 TF_LITE_REPORT_ERROR(error_reporter_, "Skipping op for opcode_index %d\n", in PrepareNodeAndRegistrationDataFromFlatbuffer()
827 error_reporter_, in PrepareNodeAndRegistrationDataFromFlatbuffer()
[all …]
Dmicro_mutable_op_resolver.h42 : error_reporter_(error_reporter) {} in error_reporter_() function
84 if (error_reporter_) { in AddCustom()
86 error_reporter_, in AddCustom()
94 if (error_reporter_ != nullptr) { in AddCustom()
95 TF_LITE_REPORT_ERROR(error_reporter_, in AddCustom()
453 if (error_reporter_ != nullptr) { in AddBuiltin()
454 TF_LITE_REPORT_ERROR(error_reporter_, in AddBuiltin()
462 if (error_reporter_ != nullptr) { in AddBuiltin()
463 TF_LITE_REPORT_ERROR(error_reporter_, in AddBuiltin()
472 if (error_reporter_) { in AddBuiltin()
[all …]
Dsimple_memory_allocator.cc32 : error_reporter_(error_reporter), in SimpleMemoryAllocator()
67 error_reporter_, in SetHeadBufferSize()
77 error_reporter_, in SetHeadBufferSize()
94 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateFromTail()
109 TF_LITE_REPORT_ERROR(error_reporter_, in AllocateTemp()
Dmicro_interpreter.h69 ErrorReporter* error_reporter_ = nullptr; variable
188 ErrorReporter* error_reporter_; variable
Dsimple_memory_allocator.h100 ErrorReporter* error_reporter_; variable
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands.h34 : error_reporter_(error_reporter), front_index_(0), size_(0) {} in PreviousResultsQueue()
63 error_reporter_, in push_back()
73 TF_LITE_REPORT_ERROR(error_reporter_, in pop_front()
91 TF_LITE_REPORT_ERROR(error_reporter_, in from_front()
103 tflite::ErrorReporter* error_reporter_;
147 tflite::ErrorReporter* error_reporter_;
Drecognize_commands.cc25 : error_reporter_(error_reporter), in RecognizeCommands()
42 error_reporter_, in ProcessLatestResults()
52 error_reporter_, in ProcessLatestResults()
61 error_reporter_, in ProcessLatestResults()
/external/tflite-support/tensorflow_lite_support/cc/task/core/
Dtflite_engine.cc109 TF_LITE_REPORT_ERROR(&error_reporter_, in VerifyAndBuildModelFromBuffer()
116 if (!verifier_.Verify(buffer_data, buffer_size, &error_reporter_)) { in VerifyAndBuildModelFromBuffer()
124 buffer_data, buffer_size, &verifier_, &error_reporter_); in VerifyAndBuildModelFromBuffer()
135 if (absl::StrContains(error_reporter_.error_message, in InitializeFromModelFileHandler()
138 StatusCode::kInvalidArgument, error_reporter_.error_message, in InitializeFromModelFileHandler()
148 error_reporter_.error_message)); in InitializeFromModelFileHandler()
261 error_reporter_.error_message)); in InitInterpreter()
275 error_reporter_.error_message)); in InitInterpreter()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils_test.cc53 tflite::TestErrorReporter error_reporter_; member in tflite::optimize::utils::__anon077018e30211::QuantizationUtilsTest
208 &error_reporter_); in TEST_F()
238 tensor.quantization.get(), &error_reporter_); in TEST_F()
250 &error_reporter_); in TEST_F()
303 &quantization_params, &error_reporter_); in TEST_F()
325 &quantization_params, &error_reporter_); in TEST_F()
357 tflite::TestErrorReporter error_reporter_; in TEST_F() local
364 GetSymmetricScalesFromMaxMin(quantization.get(), &scales, &error_reporter_); in TEST_F()
376 tflite::TestErrorReporter error_reporter_; in TEST_F() local
387 GetSymmetricScalesFromMaxMin(quant_params.get(), &scales, &error_reporter_); in TEST_F()
[all …]
Dquantize_model_test.cc81 internal::FailOnErrorReporter error_reporter_; member in tflite::optimize::__anon69e5b5ed0211::QuantizeModelTest
141 false, tensor_type_, &error_reporter_); in TEST_P()
151 /*allow_float=*/true, {}, TensorType_FLOAT32, &error_reporter_); in TEST_P()
176 false, tensor_type_, &error_reporter_); in TEST_P()
203 false, tensor_type_, &error_reporter_); in TEST_P()
239 /*allow_float*/ false, tensor_type_, &error_reporter_); in TEST_P()
258 /*allow_float*/ false, tensor_type_, &error_reporter_); in TEST_P()
323 TensorType_INT8, &error_reporter_); in TEST_P()
404 TensorType_INT8, &error_reporter_); in TEST_F()
437 false, tensor_type_, &error_reporter_); in TEST_P()
[all …]
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc36 return error_reporter_->exception(); \
151 error_reporter_(std::move(error_reporter)), in CalibrationWrapper()
353 TfLiteTypeToSchemaType(activations_type), error_reporter_.get()); in QuantizeModel()
356 error_reporter_->exception(); in QuantizeModel()
384 TensorType_INT8, error_reporter_.get()); in QuantizeModel()
386 error_reporter_->exception(); in QuantizeModel()
Dcalibration_wrapper.h98 error_reporter_; variable
/external/tensorflow/tensorflow/lite/delegates/flex/
Dtest_util.h88 const TestErrorReporter& error_reporter() const { return error_reporter_; } in error_reporter()
115 TestErrorReporter error_reporter_; variable
Ddelegate_test.cc34 interpreter_.reset(new Interpreter(&error_reporter_)); in DelegateTest()
226 std::unique_ptr<Interpreter> interpreter(new Interpreter(&error_reporter_)); in TEST_F()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dcalibrator.cc66 error_reporter_(error_reporter) { in Calibrator()
77 ErrorReporter* GetErrorReporter() const { return error_reporter_; } in GetErrorReporter()
89 ErrorReporter* error_reporter_; member in tflite::optimize::calibration::__anon229e64070111::Calibrator

12