Home
last modified time | relevance | path

Searched refs:ModifyGraphWithDelegate (Results 1 – 25 of 58) sorted by relevance

123

/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test.cc47 EXPECT_EQ(interpreter_->ModifyGraphWithDelegate(nullptr), in TEST_F()
53 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()); in TEST_F()
83 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
107 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
149 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
156 interpreter_->ModifyGraphWithDelegate(delegate2_->get_tf_lite_delegate()), in TEST_F()
181 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
184 interpreter_->ModifyGraphWithDelegate(delegate2_->get_tf_lite_delegate()), in TEST_F()
222 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
227 interpreter_->ModifyGraphWithDelegate(delegate2_->get_tf_lite_delegate()), in TEST_F()
[all …]
Dinterpreter_utils_test.cc42 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
78 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_F()
81 interpreter_->ModifyGraphWithDelegate(delegate2_->get_tf_lite_delegate()), in TEST_F()
108 interpreter_->ModifyGraphWithDelegate(delegate_->get_tf_lite_delegate()), in TEST_P()
/external/tensorflow/tensorflow/lite/experimental/acceleration/configuration/
Dnnapi_plugin_test.cc87 EXPECT_EQ(model.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in CheckExecutionPreference()
106 EXPECT_EQ(model.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in CheckExecutionPriority()
132 EXPECT_EQ(model_.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in TEST_F()
137 EXPECT_EQ(model_.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in TEST_F()
176 EXPECT_EQ(model_.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in TEST_F()
192 EXPECT_EQ(model_.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in TEST_F()
208 EXPECT_EQ(model_.Interpreter()->ModifyGraphWithDelegate(delegate_.get()), in TEST_F()
/external/tensorflow/tensorflow/lite/delegates/utils/
Dsimple_delegate_test.cc67 interpreter_->ModifyGraphWithDelegate(std::move(delegate)); in TEST_F()
95 interpreter_->ModifyGraphWithDelegate(std::move(delegate)); in TEST_F()
106 interpreter_->ModifyGraphWithDelegate(std::move(delegate))); in TEST_F()
115 interpreter_->ModifyGraphWithDelegate(std::move(delegate))); in TEST_F()
125 interpreter_->ModifyGraphWithDelegate(std::move(delegate))); in TEST_F()
/external/tensorflow/tensorflow/lite/
Dinterpreter_test_util.h37 static TfLiteStatus ModifyGraphWithDelegate( in ModifyGraphWithDelegate() function
39 return interpreter->ModifyGraphWithDelegate(std::move(delegate)); in ModifyGraphWithDelegate()
Dinterpreter.h489 TfLiteStatus ModifyGraphWithDelegate(TfLiteDelegate* delegate);
499 inline TfLiteStatus ModifyGraphWithDelegate( in ModifyGraphWithDelegate() function
511 return ModifyGraphWithDelegate(owned_delegates_.back().get()); in ModifyGraphWithDelegate()
517 TfLiteStatus ModifyGraphWithDelegate(
Dinterpreter.cc198 auto status = ModifyGraphWithDelegate(std::move(delegate_providers[i])); in AllocateTensors()
387 TfLiteStatus Interpreter::ModifyGraphWithDelegate(TfLiteDelegate* delegate) { in ModifyGraphWithDelegate() function in tflite::Interpreter
393 status = subgraph->ModifyGraphWithDelegate(delegate); in ModifyGraphWithDelegate()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/
Dutils.cc141 absl::Status ModifyGraphWithDelegate(std::unique_ptr<Interpreter>* interpreter, in ModifyGraphWithDelegate() function
143 if ((*interpreter)->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in ModifyGraphWithDelegate()
Dxnnpack_test.cc48 ModifyGraphWithDelegate(&xnnpack_interpreter, xnnpack_delegate.get())); in TEST_P()
Dopencl_test.cc48 ASSERT_OK(ModifyGraphWithDelegate(&opencl_interpreter, cl_delegate.get())); in TEST_P()
Dopengl_test.cc46 ASSERT_OK(ModifyGraphWithDelegate(&opengl_interpreter, gl_delegate.get())); in TEST_P()
/external/tensorflow/tensorflow/lite/delegates/gpu/
DREADME.md60 `Interpreter::ModifyGraphWithDelegate()` instead of calling
74 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return;
87 *IMPORTANT:* When calling `Interpreter::ModifyGraphWithDelegate()` or
92 from the same thread `Interpreter::ModifyGraphWithDelegate()` was called.
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.cc89 interpreter_->ModifyGraphWithDelegate(delegates_.back().get())); in ApplyCustomDelegate()
136 if (interpreter_->ModifyGraphWithDelegate(delegates_[i].get()) != in Init()
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dgpu_advanced.md167 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return false;
190 Note: When calling `Interpreter::ModifyGraphWithDelegate()` or
195 from the same thread in which `Interpreter::ModifyGraphWithDelegate()` was
207 and then pass it to `Interpreter::ModifyGraphWithDelegate()` (instead of calling
221 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return false;
343 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return false;
413 `Interpreter::ModifyGraphWithDelegate()`. Additionally, the inference output is,
427 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) return false;
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dhexagon_delegate_op_model.h63 EXPECT_TRUE(interpreter_->ModifyGraphWithDelegate(delegate_.get()) != in ApplyDelegateAndInvoke()
/external/tensorflow/tensorflow/lite/c/
Dc_api.cc289 if (interpreter->ModifyGraphWithDelegate(tflite::NnApiDelegate()) != in InterpreterCreateWithOpResolver()
296 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in InterpreterCreateWithOpResolver()
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/
Dtflite_model_reader.cc92 if (interpreter->ModifyGraphWithDelegate(&delegate) != kTfLiteOk) { in BuildFromFlatBuffer()
Dinterpreter_utils.cc44 if (delegate && interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in InterpreterInvokeWithOpResolver()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc245 if (interpreter_->ModifyGraphWithDelegate(delegate_.get()) != kTfLiteOk) { in LoadModel()
350 if (interpreter_->ModifyGraphWithDelegate(NnApiDelegate()) != kTfLiteOk) { in Invoke()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h110 PyObject* ModifyGraphWithDelegate(TfLiteDelegate* delegate);
/external/tensorflow/tensorflow/lite/kernels/
Dtest_util.cc229 TF_LITE_ENSURE_STATUS(interpreter_->ModifyGraphWithDelegate(delegate_)); in ApplyDelegate()
244 interpreter_->ModifyGraphWithDelegate(std::move(one))); in ApplyDelegate()
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dtest_util.mm30 ASSERT_TRUE(interpreter_->ModifyGraphWithDelegate(delegate_.get()) == kTfLiteOk);
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/
Ddelegate_testing.cc138 status = gpu_inference->ModifyGraphWithDelegate(gpu_delegate); in main()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dleaky_relu_tester.cc73 ASSERT_EQ(delegate_interpreter->ModifyGraphWithDelegate(delegate), kTfLiteOk); in Test()
Dsoftmax_tester.cc73 ASSERT_EQ(delegate_interpreter->ModifyGraphWithDelegate(delegate), kTfLiteOk); in Test()

123