Home
last modified time | relevance | path

Searched refs:InterpreterBuilder (Results 1 – 25 of 31) sorted by relevance

12

/external/tensorflow/tensorflow/lite/
Dmodel.h180 class InterpreterBuilder {
182 InterpreterBuilder(const FlatBufferModel& model,
187 InterpreterBuilder(const ::tflite::Model* model,
190 ~InterpreterBuilder();
191 InterpreterBuilder(const InterpreterBuilder&) = delete;
192 InterpreterBuilder& operator=(const InterpreterBuilder&) = delete;
Dmodel_test.cc82 ASSERT_EQ(InterpreterBuilder(*model, TrivialResolver())(&interpreter), in TEST()
85 ASSERT_NE(InterpreterBuilder(*model, TrivialResolver())(nullptr), kTfLiteOk); in TEST()
95 ASSERT_NE(InterpreterBuilder(*m, TrivialResolver())(&interpreter), kTfLiteOk); in TEST()
103 ASSERT_EQ(InterpreterBuilder(*m, TrivialResolver())(&interpreter), kTfLiteOk); in TEST()
114 ASSERT_NE(InterpreterBuilder(*model, TrivialResolver(nullptr))(&interpreter), in TEST()
127 InterpreterBuilder(*model, TrivialResolver(&dummy_reg))(&interpreter), in TEST()
209 ASSERT_EQ(InterpreterBuilder(*model, in TEST()
230 InterpreterBuilder(nullptr, TrivialResolver(&dummy_reg))(&interpreter), in TEST()
278 InterpreterBuilder(*model, resolver)(&interpreter); in TEST()
292 InterpreterBuilder(*model, resolver)(&interpreter); in TEST()
[all …]
Dmodel.cc192 InterpreterBuilder::InterpreterBuilder(const FlatBufferModel& model, in InterpreterBuilder() function in tflite::InterpreterBuilder
199 InterpreterBuilder::InterpreterBuilder(const ::tflite::Model* model, in InterpreterBuilder() function in tflite::InterpreterBuilder
206 InterpreterBuilder::~InterpreterBuilder() {} in ~InterpreterBuilder()
208 TfLiteStatus InterpreterBuilder::BuildLocalIndexToRegistrationMapping() { in BuildLocalIndexToRegistrationMapping()
247 TfLiteStatus InterpreterBuilder::ParseNodes( in ParseNodes()
302 TfLiteStatus InterpreterBuilder::ParseQuantization( in ParseQuantization()
352 TfLiteStatus InterpreterBuilder::ParseTensors( in ParseTensors()
441 TfLiteStatus InterpreterBuilder::ApplyDelegates(Interpreter* interpreter) { in ApplyDelegates()
467 TfLiteStatus InterpreterBuilder::operator()( in operator ()()
472 TfLiteStatus InterpreterBuilder::operator()( in operator ()()
Dmodel_flex_test.cc31 ASSERT_EQ(InterpreterBuilder(*model, in TEST()
Dinterpreter.h479 friend class InterpreterBuilder;
/external/tensorflow/tensorflow/lite/experimental/writer/
Dwriter_test.cc37 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main()
46 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main()
Dwriter.cc36 tflite::InterpreterBuilder(*model, builtin_op_resolver)(&interpreter); in main()
Dwriter_lib_test.cc52 InterpreterBuilder builder(*model, resolver); in TEST()
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/
Dnode_info_delegate_test.cc68 ASSERT_EQ(InterpreterBuilder(*model, in TEST()
88 ASSERT_EQ(InterpreterBuilder(*model, in TEST()
120 ASSERT_EQ(InterpreterBuilder(*model, in TEST()
Dcalibrator.cc319 tflite::InterpreterBuilder(model, *logging_op_resolver)(interpreter); in BuildLoggingInterpreter()
/external/tensorflow/tensorflow/lite/examples/minimal/
Dminimal.cc53 InterpreterBuilder builder(*model, resolver); in main()
/external/tensorflow/tensorflow/lite/tools/accuracy/
Dutils.cc94 tflite::InterpreterBuilder(*model, resolver)(&interpreter); in GetTFliteModelInfo()
Drun_tflite_model_op.cc80 tflite::InterpreterBuilder(*model_, resolver)(&interpreter_); in RunTFLiteModelOp()
/external/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor.cc78 ::tflite::InterpreterBuilder(model, resolver)(&interpreter); in GetSegmentPredictions()
/external/tensorflow/tensorflow/lite/experimental/c/
Dc_api.cc109 tflite::InterpreterBuilder builder(model->impl->GetModel(), resolver, in TFL_NewInterpreter()
/external/tensorflow/tensorflow/lite/testing/kernel_test/
Dinput_generator.cc94 InterpreterBuilder(*model_, builtin_ops)(&interpreter_); in LoadModel()
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc123 CHECK(InterpreterBuilder(model, *resolver_)(&interpreter_) == kTfLiteOk); in BuildInterpreter()
/external/tensorflow/tensorflow/lite/g3doc/models/image_classification/
Dios.md124 create the interpreter object using `InterpreterBuilder` that takes the model
129 tflite::InterpreterBuilder(*model, resolver)(&interpreter);
/external/tensorflow/tensorflow/lite/g3doc/guide/
Dios.md124 create the interpreter object using `InterpreterBuilder` that takes the model
129 tflite::InterpreterBuilder(*model, resolver)(&interpreter);
/external/libtextclassifier/utils/
Dtflite-model-executor.cc208 tflite::InterpreterBuilder(*model_, *resolver_)(&interpreter); in CreateInterpreter()
/external/tensorflow/tensorflow/lite/examples/label_image/
Dlabel_image.cc109 tflite::InterpreterBuilder(*model, resolver)(&interpreter); in RunInference()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc238 InterpreterBuilder(*model_, *resolver_)(&interpreter_); in LoadModel()
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm117 tflite::InterpreterBuilder(*model, resolver)(&interpreter);
/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver.cc237 InterpreterBuilder(*model_, *resolver_)(&interpreter_); in LoadModel()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc373 tflite::InterpreterBuilder(*model, resolver)(&interpreter, num_threads); in Init()

12