/external/tensorflow/tensorflow/lite/ |
D | interpreter_builder.cc | 197 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 …]
|
D | allocation.cc | 37 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()
|
D | interpreter.cc | 89 : 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()
|
D | model_builder.cc | 165 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()
|
D | mmap_allocation.cc | 33 error_reporter_->Report("Could not open '%s'.", filename); in MMAPAllocation() 42 error_reporter_->Report("Mmap of '%s' failed.", filename); in MMAPAllocation()
|
D | model_builder.h | 132 ErrorReporter* error_reporter() const { return error_reporter_; } in error_reporter() 167 ErrorReporter* error_reporter_; variable
|
D | allocation.h | 55 : error_reporter_(error_reporter), type_(type) {} in Allocation() 56 ErrorReporter* error_reporter_; variable
|
D | interpreter_builder.h | 107 ErrorReporter* error_reporter_; variable
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter.cc | 51 : 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 …]
|
D | micro_error_reporter.cc | 29 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()
|
D | micro_allocator.cc | 601 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 …]
|
D | micro_mutable_op_resolver.h | 42 : 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 …]
|
D | simple_memory_allocator.cc | 32 : 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()
|
D | micro_interpreter.h | 69 ErrorReporter* error_reporter_ = nullptr; variable 188 ErrorReporter* error_reporter_; variable
|
D | simple_memory_allocator.h | 100 ErrorReporter* error_reporter_; variable
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ |
D | recognize_commands.h | 34 : 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_;
|
D | recognize_commands.cc | 25 : 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/ |
D | tflite_engine.cc | 109 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/ |
D | quantization_utils_test.cc | 53 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 …]
|
D | quantize_model_test.cc | 81 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/ |
D | calibration_wrapper.cc | 36 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()
|
D | calibration_wrapper.h | 98 error_reporter_; variable
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | test_util.h | 88 const TestErrorReporter& error_reporter() const { return error_reporter_; } in error_reporter() 115 TestErrorReporter error_reporter_; variable
|
D | delegate_test.cc | 34 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/ |
D | calibrator.cc | 66 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
|