/external/tensorflow/tensorflow/lite/delegates/ |
D | delegate_test.cc | 47 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 …]
|
D | interpreter_utils_test.cc | 42 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/ |
D | nnapi_plugin_test.cc | 87 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/ |
D | simple_delegate_test.cc | 67 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/ |
D | interpreter_test_util.h | 37 static TfLiteStatus ModifyGraphWithDelegate( in ModifyGraphWithDelegate() function 39 return interpreter->ModifyGraphWithDelegate(std::move(delegate)); in ModifyGraphWithDelegate()
|
D | interpreter.h | 489 TfLiteStatus ModifyGraphWithDelegate(TfLiteDelegate* delegate); 499 inline TfLiteStatus ModifyGraphWithDelegate( in ModifyGraphWithDelegate() function 511 return ModifyGraphWithDelegate(owned_delegates_.back().get()); in ModifyGraphWithDelegate() 517 TfLiteStatus ModifyGraphWithDelegate(
|
D | interpreter.cc | 198 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/ |
D | utils.cc | 141 absl::Status ModifyGraphWithDelegate(std::unique_ptr<Interpreter>* interpreter, in ModifyGraphWithDelegate() function 143 if ((*interpreter)->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in ModifyGraphWithDelegate()
|
D | xnnpack_test.cc | 48 ModifyGraphWithDelegate(&xnnpack_interpreter, xnnpack_delegate.get())); in TEST_P()
|
D | opencl_test.cc | 48 ASSERT_OK(ModifyGraphWithDelegate(&opencl_interpreter, cl_delegate.get())); in TEST_P()
|
D | opengl_test.cc | 46 ASSERT_OK(ModifyGraphWithDelegate(&opengl_interpreter, gl_delegate.get())); in TEST_P()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/ |
D | README.md | 60 `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/ |
D | tflite_inference_stage.cc | 89 interpreter_->ModifyGraphWithDelegate(delegates_.back().get())); in ApplyCustomDelegate() 136 if (interpreter_->ModifyGraphWithDelegate(delegates_[i].get()) != in Init()
|
/external/tensorflow/tensorflow/lite/g3doc/performance/ |
D | gpu_advanced.md | 167 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/ |
D | hexagon_delegate_op_model.h | 63 EXPECT_TRUE(interpreter_->ModifyGraphWithDelegate(delegate_.get()) != in ApplyDelegateAndInvoke()
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api.cc | 289 if (interpreter->ModifyGraphWithDelegate(tflite::NnApiDelegate()) != in InterpreterCreateWithOpResolver() 296 if (interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in InterpreterCreateWithOpResolver()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/ |
D | tflite_model_reader.cc | 92 if (interpreter->ModifyGraphWithDelegate(&delegate) != kTfLiteOk) { in BuildFromFlatBuffer()
|
D | interpreter_utils.cc | 44 if (delegate && interpreter->ModifyGraphWithDelegate(delegate) != kTfLiteOk) { in InterpreterInvokeWithOpResolver()
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | tflite_driver.cc | 245 if (interpreter_->ModifyGraphWithDelegate(delegate_.get()) != kTfLiteOk) { in LoadModel() 350 if (interpreter_->ModifyGraphWithDelegate(NnApiDelegate()) != kTfLiteOk) { in Invoke()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.h | 110 PyObject* ModifyGraphWithDelegate(TfLiteDelegate* delegate);
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | test_util.cc | 229 TF_LITE_ENSURE_STATUS(interpreter_->ModifyGraphWithDelegate(delegate_)); in ApplyDelegate() 244 interpreter_->ModifyGraphWithDelegate(std::move(one))); in ApplyDelegate()
|
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/ |
D | test_util.mm | 30 ASSERT_TRUE(interpreter_->ModifyGraphWithDelegate(delegate_.get()) == kTfLiteOk);
|
/external/tensorflow/tensorflow/lite/delegates/gpu/cl/testing/ |
D | delegate_testing.cc | 138 status = gpu_inference->ModifyGraphWithDelegate(gpu_delegate); in main()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | leaky_relu_tester.cc | 73 ASSERT_EQ(delegate_interpreter->ModifyGraphWithDelegate(delegate), kTfLiteOk); in Test()
|
D | softmax_tester.cc | 73 ASSERT_EQ(delegate_interpreter->ModifyGraphWithDelegate(delegate), kTfLiteOk); in Test()
|