Home
last modified time | relevance | path

Searched refs:execution_plan (Results 1 – 25 of 30) sorted by relevance

12

/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test.cc55 ASSERT_EQ(interpreter_->execution_plan().size(), 1); in TEST_F()
56 int node = interpreter_->execution_plan()[0]; in TEST_F()
86 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
110 ASSERT_EQ(interpreter_->execution_plan().size(), 1); in TEST_F()
122 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
145 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
151 ASSERT_EQ(interpreter_->execution_plan().size(), 2); in TEST_F()
158 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
186 ASSERT_EQ(interpreter_->execution_plan().size(), 2); in TEST_F()
198 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
[all …]
Dinterpreter_utils_test.cc45 ASSERT_EQ(interpreter_->execution_plan().size(), 1); in TEST_F()
57 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
76 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
84 ASSERT_EQ(interpreter_->execution_plan().size(), 2); in TEST_F()
97 EXPECT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
127 ASSERT_EQ(interpreter_->execution_plan().size(), 8); in TEST_P()
Dutils.cc116 TfLiteIntArray* execution_plan = nullptr; in PrepareSupportedNodes() local
117 auto status = context_->GetExecutionPlan(context_, &execution_plan); in PrepareSupportedNodes()
123 num_total_nodes_ = execution_plan->size; in PrepareSupportedNodes()
126 for (int node_id : TfLiteIntArrayView(execution_plan)) { in PrepareSupportedNodes()
Dutils_test.cc133 TfLiteIntArray** execution_plan) { in MockGetExecutionPlan() argument
135 *execution_plan = mock->exec_plan(); in MockGetExecutionPlan()
212 TfLiteIntArray** execution_plan) { in ErrorGetExecutionPlan() argument
Ddelegate_test_util.cc161 TfLiteIntArray* execution_plan; in SimpleDelegate() local
162 TF_LITE_ENSURE_STATUS(context->GetExecutionPlan(context, &execution_plan)); in SimpleDelegate()
163 for (int exec_index = 0; exec_index < execution_plan->size; exec_index++) { in SimpleDelegate()
164 int node_index = execution_plan->data[exec_index]; in SimpleDelegate()
/external/tensorflow/tensorflow/lite/
Dmodel_xnnpack_test.cc48 EXPECT_EQ(1, interpreter->execution_plan().size()); in TEST()
49 int first_node_id = interpreter->execution_plan()[0]; in TEST()
76 EXPECT_LT(1, interpreter->execution_plan().size()); in TEST()
77 int first_node_id = interpreter->execution_plan()[0]; in TEST()
Dinterpreter.h237 const std::vector<int>& execution_plan() const { in execution_plan() function
238 return primary_subgraph().execution_plan(); in execution_plan()
/external/tensorflow/tensorflow/lite/java/src/test/native/
Dinterpreter_test_jni.cc62 TfLiteIntArray* execution_plan; in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate() local
64 context->GetExecutionPlan(context, &execution_plan)); in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()
66 context, registration, execution_plan, delegate); in Java_org_tensorflow_lite_InterpreterTest_getNativeHandleForDelegate()
/external/tensorflow/tensorflow/lite/delegates/coreml/builders/
Dtest_util.mm44 XCTAssertEqual(interpreter->execution_plan().size(), 1);
45 const int node_index = interpreter->execution_plan()[0];
57 for (int node_idx : interpreter->execution_plan()) {
59 XCTAssertEqual(interpreter->execution_plan().size(), 1);
/external/tensorflow/tensorflow/lite/delegates/gpu/common/
Dmodel_builder_test.cc303 TfLiteIntArray** execution_plan) { in TEST() argument
304 *execution_plan = interpreter_fp16_add_op->exec_plan(); in TEST()
362 TfLiteIntArray** execution_plan) { in TEST() argument
363 *execution_plan = interpreter_fp16_non_constant->exec_plan(); in TEST()
425 TfLiteIntArray** execution_plan) { in TEST() argument
426 *execution_plan = interpreter_fp16_gt_op->exec_plan(); in TEST()
539 TfLiteIntArray** execution_plan) { in TEST() argument
540 *execution_plan = interpreter_fp32->exec_plan(); in TEST()
706 TfLiteIntArray** execution_plan) { in TEST() argument
707 *execution_plan = interpreter2_fp32->exec_plan(); in TEST()
[all …]
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib.h92 execution_plan_(subgraph->execution_plan()) { in SubgraphWriter()
115 const std::vector<int>& execution_plan);
127 execution_plan_(subgraph->execution_plan()) { in SubgraphWriter()
161 const std::vector<int>& execution_plan);
Dwriter_lib.cc329 const std::vector<int>& execution_plan) { in CheckInputOutput() argument
335 for (int op_index : execution_plan) { in CheckInputOutput()
388 const std::vector<int>& execution_plan) { in SetCustomInputOutput() argument
389 TF_LITE_ENSURE_STATUS(CheckInputOutput(inputs, outputs, execution_plan)); in SetCustomInputOutput()
392 execution_plan_ = execution_plan; in SetCustomInputOutput()
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dhexagon_delegate_op_model.h66 ASSERT_EQ(1, interpreter_->execution_plan().size()); in ApplyDelegateAndInvoke()
67 const int node = interpreter_->execution_plan()[0]; in ApplyDelegateAndInvoke()
/external/tensorflow/tensorflow/lite/delegates/utils/
Dsimple_delegate_test.cc69 ASSERT_EQ(interpreter_->execution_plan().size(), 1); in TEST_F()
70 int node = interpreter_->execution_plan()[0]; in TEST_F()
97 ASSERT_EQ(interpreter_->execution_plan().size(), 3); in TEST_F()
/external/XNNPACK/bench/
Dend2end.cc33 auto execution_plan = model_factory(threadpool.get()); in End2EndBenchmark() local
34 if (execution_plan.empty()) { in End2EndBenchmark()
40 for (const std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>& op : execution_plan) { in End2EndBenchmark()
Df32-dwconv-e2e.cc51 auto execution_plan = model_factory(nullptr); in DWConvEnd2EndBenchmark() local
52 if (execution_plan.empty()) { in DWConvEnd2EndBenchmark()
58 for (const std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>& op : execution_plan) { in DWConvEnd2EndBenchmark()
Df32-gemm-e2e.cc53 auto execution_plan = model_factory(nullptr); in GEMMEnd2EndBenchmark() local
54 if (execution_plan.empty()) { in GEMMEnd2EndBenchmark()
60 for (const std::unique_ptr<xnn_operator, decltype(&xnn_delete_operator)>& op : execution_plan) { in GEMMEnd2EndBenchmark()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h192 std::vector<int>& execution_plan() { return execution_plan_; } in execution_plan() function
195 const std::vector<int>& execution_plan() const { return execution_plan_; } in execution_plan() function
441 const std::vector<int>& execution_plan,
519 TfLiteStatus GetExecutionPlan(TfLiteIntArray** execution_plan);
524 TfLiteIntArray** execution_plan);
Dsubgraph.cc185 return subgraph_->execution_plan().size(); in num_execution_nodes()
189 int node_index = subgraph_->execution_plan()[index]; in node()
193 return subgraph_->execution_plan()[index]; in node_index()
469 TfLiteStatus Subgraph::GetExecutionPlan(TfLiteIntArray** execution_plan) { in GetExecutionPlan() argument
472 *execution_plan = plan_cache_.get(); in GetExecutionPlan()
483 TfLiteIntArray** execution_plan) { in GetExecutionPlan() argument
485 ->GetExecutionPlan(execution_plan); in GetExecutionPlan()
901 int first_execution_plan_index, const std::vector<int>& execution_plan, in PrepareOpsStartingAt() argument
910 execution_plan_index < execution_plan.size(); execution_plan_index++) { in PrepareOpsStartingAt()
911 int node_index = execution_plan[execution_plan_index]; in PrepareOpsStartingAt()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dtpu_execute_op.cc412 const Tensor& execution_plan = context->input(0); in DoWork() local
413 TF_RET_CHECK(TensorShapeUtils::IsScalar(execution_plan.shape())); in DoWork()
415 TF_RET_CHECK(plan.ParseFromString(execution_plan.scalar<tstring>()())); in DoWork()
Dxrt_execute_op.cc530 const Tensor& execution_plan = context->input(0); in DoWork() local
531 TF_RET_CHECK(TensorShapeUtils::IsScalar(execution_plan.shape())); in DoWork()
533 TF_RET_CHECK(ParseFromTString(execution_plan.scalar<tstring>()(), &plan)); in DoWork()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc643 for (int i = 0; i < interpreter_->execution_plan().size(); ++i) { in Init()
644 int node_id = interpreter_->execution_plan()[i]; in Init()
661 interpreter_->execution_plan().size() == 1); in Init()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dxnnpack_delegate.cc121 TfLiteIntArray* execution_plan; in Create() local
122 if (context->GetExecutionPlan(context, &execution_plan) != kTfLiteOk) { in Create()
2931 TfLiteIntArray* execution_plan = nullptr; in PrepareOpsToDelegate() local
2932 if (context->GetExecutionPlan(context, &execution_plan) != kTfLiteOk) { in PrepareOpsToDelegate()
2946 TfLiteIntArrayCreate(execution_plan->size); in PrepareOpsToDelegate()
2948 for (int i = 0; i < execution_plan->size; ++i) { in PrepareOpsToDelegate()
2949 const int node_index = execution_plan->data[i]; in PrepareOpsToDelegate()
3241 nodes_to_delegate->size = execution_plan->size; in PrepareOpsToDelegate()
3242 std::copy(&execution_plan->data[0], in PrepareOpsToDelegate()
3243 &execution_plan->data[execution_plan->size], in PrepareOpsToDelegate()
/external/tensorflow/tensorflow/lite/c/
Dcommon.h641 TfLiteIntArray** execution_plan);
/external/tensorflow/tensorflow/lite/java/src/main/native/
Dnativeinterpreterwrapper_jni.cc259 for (int node_i : subgraph->execution_plan()) { in Java_org_tensorflow_lite_NativeInterpreterWrapper_hasUnresolvedFlexOp()
360 return static_cast<jint>(interpreter->execution_plan().size()); in Java_org_tensorflow_lite_NativeInterpreterWrapper_getExecutionPlanLength()

12