Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/
Dmodel.cc169 error_reporter_->Report( in CheckModelIdentifier()
179 : model_(model), error_reporter_(ValidateErrorReporter(error_reporter)) {} in FlatBufferModel()
183 : error_reporter_(ValidateErrorReporter(error_reporter)), in FlatBufferModel()
196 error_reporter_(ValidateErrorReporter(model.error_reporter())), in InterpreterBuilder()
204 error_reporter_(ValidateErrorReporter(error_reporter)) {} in InterpreterBuilder()
213 status = GetRegistrationFromOpCode(opcode, op_resolver_, error_reporter_, in BuildLocalIndexToRegistrationMapping()
259 error_reporter_->Report("Missing registration for opcode_index %d\n", in ParseNodes()
268 error_reporter_->Report("Skipping op for opcode_index %d\n", index); in ParseNodes()
277 error_reporter_->Report( in ParseNodes()
291 TF_LITE_ENSURE_STATUS(ParseOpData(op, op_type, error_reporter_, in ParseNodes()
[all …]
Dallocation.cc39 error_reporter_->Report("Could not open '%s'.", filename); in FileCopyAllocation()
46 error_reporter_->Report("Failed to get file size of '%s'.", filename); in FileCopyAllocation()
52 error_reporter_->Report("Malloc of buffer to hold copy of '%s' failed.", in FileCopyAllocation()
59 error_reporter_->Report("Read of '%s' failed (too few bytes read).", in FileCopyAllocation()
Dmodel.h132 ErrorReporter* error_reporter() const { return error_reporter_; } in error_reporter()
157 ErrorReporter* error_reporter_; variable
212 ErrorReporter* error_reporter_; variable
Dmmap_allocation.cc32 error_reporter_->Report("Could not open '%s'.", filename); in MMAPAllocation()
41 error_reporter_->Report("Mmap of '%s' failed.", filename); in MMAPAllocation()
Dallocation.h33 Allocation(ErrorReporter* error_reporter) : error_reporter_(error_reporter) {} in Allocation()
44 ErrorReporter* error_reporter_;
Dinterpreter.cc58 : error_reporter_(error_reporter ? error_reporter in Interpreter()
114 new Subgraph(error_reporter_, external_contexts_, &subgraphs_); in AddSubgraphs()
Dinterpreter.h504 ErrorReporter* error_reporter_; variable
/external/tensorflow/tensorflow/lite/experimental/micro/
Dmicro_interpreter.cc68 error_reporter_(error_reporter), in MicroInterpreter()
160 error_reporter_->Report("Invoke() called after initialization failed\n"); in Invoke()
169 error_reporter_->Report("Missing registration for opcode_index %d\n", in Invoke()
175 status = GetRegistrationFromOpCode(opcode, op_resolver_, error_reporter_, in Invoke()
181 error_reporter_->Report("Skipping op for opcode_index %d\n", index); in Invoke()
188 error_reporter_->Report( in Invoke()
200 TF_LITE_ENSURE_STATUS(ParseOpData(op, op_type, error_reporter_, in Invoke()
224 error_reporter_->Report("Too many inputs (%d)\n", op->inputs()->Length()); in Invoke()
237 error_reporter_->Report("Too many outputs (%d)\n", in Invoke()
264 error_reporter_->Report( in Invoke()
[all …]
Dmicro_interpreter.h53 ErrorReporter* error_reporter() { return error_reporter_; } in error_reporter()
59 ErrorReporter* error_reporter_; variable
/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Drecognize_commands.h34 : error_reporter_(error_reporter), front_index_(0), size_(0) {} in PreviousResultsQueue()
62 error_reporter_->Report( in push_back()
72 error_reporter_->Report("Couldn't pop_front result, none present!"); in pop_front()
89 error_reporter_->Report("Attempt to read beyond the end of the queue!"); in from_front()
100 tflite::ErrorReporter* error_reporter_;
144 tflite::ErrorReporter* error_reporter_;
Drecognize_commands.cc25 : error_reporter_(error_reporter), in RecognizeCommands()
41 error_reporter_->Report( in ProcessLatestResults()
50 error_reporter_->Report( in ProcessLatestResults()
58 error_reporter_->Report( in ProcessLatestResults()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dsubgraph_quantizer.cc208 error_reporter_->Report( in AsymmetricQuantizeTensor()
226 error_reporter_->Report("Cannot quantize op: %s", in QuantizeOpWithBias()
245 model_, weights_tensor, weights_channel_index, error_reporter_); in QuantizeOpWithBias()
255 bias_tensor, error_reporter_)); in QuantizeOpWithBias()
269 TF_LITE_ENSURE_EQ(this->error_reporter_, op->inputs.size(), 1); in PropagateMinMaxForAvgAndMaxPool()
281 error_reporter_->Report( in PropagateMinMaxForAvgAndMaxPool()
290 error_reporter_->Report( in PropagateMinMaxForAvgAndMaxPool()
312 TF_LITE_ENSURE_EQ(this->error_reporter_, op->inputs.size(), 1); in AsymmetricQuantizeSoftmax()
313 TF_LITE_ENSURE_EQ(this->error_reporter_, op->outputs.size(), 1); in AsymmetricQuantizeSoftmax()
333 TF_LITE_ENSURE(this->error_reporter_, !op->inputs.empty()); in AsymmetricQuantizeInputsAndOutputs()
[all …]
Dquantize_model_test.cc62 internal::FailOnErrorReporter error_reporter_; member in tflite::optimize::__anon2d3b55260211::QuantizeModelTest
66 auto status = QuantizeModel(&builder_, &model_, &error_reporter_); in TEST_F()
74 auto status = QuantizeModel(&builder_, &model_, &error_reporter_); in TEST_F()
94 auto status = QuantizeModel(&builder_, &model_, &error_reporter_); in TEST_F()
123 auto status = QuantizeModel(&builder_, &model_, &error_reporter_); in TEST_F()
Dsubgraph_quantizer.h35 : model_(model), subgraph_(subgraph), error_reporter_(error_reporter) {} in SubgraphQuantizer()
67 ErrorReporter* error_reporter_; variable
/external/tensorflow/tensorflow/lite/python/optimize/
Dcalibration_wrapper.cc34 return error_reporter_->exception(); \
67 error_reporter_(std::move(error_reporter)), in CalibrationWrapper()
166 error_reporter_.get()); in QuantizeModel()
168 error_reporter_->exception(); in QuantizeModel()
Dcalibration_wrapper.h81 error_reporter_; variable
/external/tensorflow/tensorflow/contrib/lite/
Dallocation.h34 Allocation(ErrorReporter* error_reporter) : error_reporter_(error_reporter) {} in Allocation()
45 ErrorReporter* error_reporter_;
/external/tensorflow/tensorflow/lite/delegates/flex/
Dtest_util.h83 const TestErrorReporter& error_reporter() const { return error_reporter_; } in error_reporter()
105 TestErrorReporter error_reporter_; variable
Ddelegate_test.cc31 interpreter_.reset(new Interpreter(&error_reporter_)); in DelegateTest()
223 std::unique_ptr<Interpreter> interpreter(new Interpreter(&error_reporter_)); in TEST_F()
Dkernel_test.cc58 interpreter_.reset(new Interpreter(&error_reporter_)); in KernelTest()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h99 const std::unique_ptr<PythonErrorReporter> error_reporter_; variable
Dinterpreter_wrapper.cc31 return error_reporter_->exception(); \
114 error_reporter_(std::move(error_reporter)), in InterpreterWrapper()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h491 ErrorReporter* error_reporter_; variable
Dsubgraph.cc143 error_reporter_(error_reporter), in Subgraph()
751 error_reporter_->Report(format, args); in ReportErrorImpl()