/external/tensorflow/tensorflow/lite/kernels/ |
D | subgraph_test_util_test.cc | 51 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TestAccumulateLoopBody() 52 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TestAccumulateLoopBody() 74 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F() 75 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F() 89 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F() 90 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F() 104 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F() 105 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F() 119 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F() 120 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F() [all …]
|
D | while_test.cc | 51 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F() 52 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TEST_F() 72 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F() 73 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in TEST_F() 100 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {}); in TEST_F() 101 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {}); in TEST_F() 102 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1}); in TEST_F()
|
D | if_test.cc | 44 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in SetUp() 45 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in SetUp() 46 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1, 2}); in SetUp() 78 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in SetUp() 79 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in SetUp() 80 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1, 2}); in SetUp()
|
D | variable_ops_test.cc | 126 interpreter_.ResizeInputTensor(2, {2}); in TEST_F()
|
D | if.cc | 92 subgraph->ResizeInputTensor(i, dims); in Prepare()
|
D | while.cc | 60 dst_subgraph->ResizeInputTensor(dst_tensor_indices[i], dims); in CopyTensorsShapeAndType()
|
/external/tensorflow/tensorflow/lite/delegates/ |
D | delegate_test.cc | 374 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {3}), kTfLiteOk); in TEST_F() 377 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {1, 3}), kTfLiteOk); in TEST_F() 378 ASSERT_EQ(interpreter_->ResizeInputTensor(1, {1, 3}), kTfLiteOk); in TEST_F() 402 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {1, 4}), kTfLiteOk); in TEST_F() 403 ASSERT_EQ(interpreter_->ResizeInputTensor(1, {1, 4}), kTfLiteOk); in TEST_F() 434 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {3}), kTfLiteOk); in TEST_F() 439 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {1, 3}), kTfLiteOk); in TEST_F() 440 ASSERT_EQ(interpreter_->ResizeInputTensor(1, {1, 3}), kTfLiteOk); in TEST_F() 464 ASSERT_EQ(interpreter_->ResizeInputTensor(0, {1, 4}), kTfLiteOk); in TEST_F() 465 ASSERT_EQ(interpreter_->ResizeInputTensor(1, {1, 4}), kTfLiteOk); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/ |
D | interpreter_test.cc | 302 ASSERT_EQ(interpreter.ResizeInputTensor(0, {1, 2}), kTfLiteOk); in TEST() 304 ASSERT_NE(interpreter.ResizeInputTensor(1, {3}), kTfLiteOk); in TEST() 402 ASSERT_EQ(interpreter.ResizeInputTensor(interpreter.inputs()[0], {1, 2, 3}), in TEST() 445 ASSERT_EQ(interpreter.ResizeInputTensor(interpreter.inputs()[0], {1, 2, 3}), in TEST() 472 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 3}), kTfLiteOk); in TEST() 483 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 4}), kTfLiteOk); in TEST() 487 ASSERT_EQ(interpreter.ResizeInputTensor(t, {}), kTfLiteOk); in TEST() 491 ASSERT_EQ(interpreter.ResizeInputTensor(t, {0}), kTfLiteOk); in TEST() 495 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 0}), kTfLiteOk); in TEST() 505 ASSERT_EQ(interpreter.ResizeInputTensor(t, {2, 2, 4}), kTfLiteOk); in TEST() [all …]
|
D | interpreter.cc | 264 TfLiteStatus Interpreter::ResizeInputTensor(int tensor_index, in ResizeInputTensor() function in tflite::Interpreter 266 return primary_subgraph().ResizeInputTensor(tensor_index, dims); in ResizeInputTensor()
|
/external/tensorflow/tensorflow/lite/profiling/ |
D | profile_summarizer_test.cc | 161 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in SetUp() 162 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in SetUp() 163 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1, 2}); in SetUp()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib_test.cc | 441 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F() 442 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TEST_F() 473 new_interpreter->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F() 474 new_interpreter->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TEST_F()
|
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HelloTFLite/Scripts/ |
D | HelloTFLite.cs | 70 interpreter.ResizeInputTensor(0, new int[]{inputs.Length}); in Update()
|
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/ |
D | interpreter_wrapper.h | 77 PyObject* ResizeInputTensor(int i, PyObject* value, bool strict);
|
D | interpreter_wrapper_pybind11.cc | 103 self.ResizeInputTensor(i, value.ptr(), strict)); in PYBIND11_MODULE()
|
D | interpreter_wrapper.cc | 277 PyObject* InterpreterWrapper::ResizeInputTensor(int i, PyObject* value, in ResizeInputTensor() function in tflite::interpreter_wrapper::InterpreterWrapper 291 TFLITE_PY_CHECK(interpreter_->ResizeInputTensor(i, dims)); in ResizeInputTensor()
|
/external/libtextclassifier/native/actions/ |
D | actions-suggestions.cc | 605 interpreter->ResizeInputTensor( in AllocateInput() 610 interpreter->ResizeInputTensor( in AllocateInput() 615 interpreter->ResizeInputTensor( in AllocateInput() 621 interpreter->ResizeInputTensor( in AllocateInput() 627 interpreter->ResizeInputTensor( in AllocateInput() 633 interpreter->ResizeInputTensor( in AllocateInput()
|
/external/libtextclassifier/native/annotator/ |
D | model-executor.cc | 29 interpreter->ResizeInputTensor(kInputIndexFeatures, features.shape()); in ComputeLogits()
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | tflite_inference_stage.cc | 66 TF_LITE_ENSURE_STATUS(interpreter_->ResizeInputTensor(i, shapes[j])); in ResizeInputs()
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 310 status = interpreter->ResizeInputTensor( in ExecuteModel() 314 status = interpreter->ResizeInputTensor(interpreter->inputs()[1], in ExecuteModel()
|
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/ |
D | Interpreter.cs | 103 public void ResizeInputTensor(int inputTensorIndex, int[] inputTensorShape) { in ResizeInputTensor() method in TensorFlowLite.Interpreter
|
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/ |
D | batch_seq_config_test.cc | 135 interpreter_->ResizeInputTensor(interpreter_inputs[0], input_shape); in Run()
|
/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | test_util.cc | 52 ASSERT_EQ(interpreter_->ResizeInputTensor(tensor_index, values), kTfLiteOk); in SetShape()
|
/external/tensorflow/tensorflow/lite/delegates/nnapi/ |
D | nnapi_delegate_test.cc | 81 TfLiteStatus ResizeInputTensor(int tensor_index, in ResizeInputTensor() function in tflite::__anonde5f765e0111::SingleOpModelWithNNAPI 83 return interpreter_->ResizeInputTensor(tensor_index, dims); in ResizeInputTensor() 248 EXPECT_EQ(m.ResizeInputTensor(m.input1(), {1, 3, 2, 1}), kTfLiteOk); in TEST() 249 EXPECT_EQ(m.ResizeInputTensor(m.input2(), {1, 3, 2, 1}), kTfLiteOk); in TEST() 257 EXPECT_EQ(m.ResizeInputTensor(m.input1(), {1, 2, 2, 1}), kTfLiteOk); in TEST() 258 EXPECT_EQ(m.ResizeInputTensor(m.input2(), {1, 2, 2, 1}), kTfLiteOk); in TEST() 299 EXPECT_EQ(m.ResizeInputTensor(m.input1(), {1, 3, 2, 1}), kTfLiteOk); in TEST() 300 EXPECT_EQ(m.ResizeInputTensor(m.input2(), {1, 3, 2, 1}), kTfLiteOk); in TEST() 307 EXPECT_EQ(m.ResizeInputTensor(m.input1(), {1, 2, 2, 1}), kTfLiteOk); in TEST() 308 EXPECT_EQ(m.ResizeInputTensor(m.input2(), {1, 2, 2, 1}), kTfLiteOk); in TEST()
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api.cc | 159 return interpreter->impl->ResizeInputTensor( in TfLiteInterpreterResizeInputTensor()
|
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/ |
D | tflite_driver.cc | 263 if (interpreter_->ResizeInputTensor( in ReshapeTensor()
|