Home
last modified time | relevance | path

Searched refs:ResizeInputTensor (Results 1 – 25 of 29) sorted by relevance

12

/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util_test.cc44 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TestAccumelateLoopBody()
45 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TestAccumelateLoopBody()
67 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F()
68 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F()
82 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F()
83 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F()
97 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {2}); in TEST_F()
98 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1, 2}); in TEST_F()
112 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {5}); in TEST_F()
113 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {10, 10}); in TEST_F()
[all …]
Dif_test.cc43 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in SetUp()
44 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in SetUp()
45 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1, 2}); in SetUp()
77 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in SetUp()
78 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in SetUp()
79 interpreter_->ResizeInputTensor(interpreter_->inputs()[2], {1, 2}); in SetUp()
Dwhile_test.cc48 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F()
49 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {1}); in TEST_F()
71 interpreter_->ResizeInputTensor(interpreter_->inputs()[0], {1}); in TEST_F()
72 interpreter_->ResizeInputTensor(interpreter_->inputs()[1], {2}); in TEST_F()
Dtest_util.cc132 CHECK(interpreter_->ResizeInputTensor(input_idx, shape) == kTfLiteOk); in BuildInterpreter()
Dif.cc84 subgraph->ResizeInputTensor(i, dims); in Prepare()
Dwhile.cc44 dst_subgraph->ResizeInputTensor(dst_tensor_indices[i], dims); in CopyTensorsShapeAndType()
/external/tensorflow/tensorflow/lite/
Dinterpreter_test.cc268 ASSERT_EQ(interpreter.ResizeInputTensor(0, {1, 2}), kTfLiteOk); in TEST()
270 ASSERT_NE(interpreter.ResizeInputTensor(1, {3}), kTfLiteOk); in TEST()
370 ASSERT_EQ(interpreter.ResizeInputTensor(interpreter.inputs()[0], {1, 2, 3}), in TEST()
413 ASSERT_EQ(interpreter.ResizeInputTensor(interpreter.inputs()[0], {1, 2, 3}), in TEST()
440 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 3}), kTfLiteOk); in TEST()
451 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 4}), kTfLiteOk); in TEST()
455 ASSERT_EQ(interpreter.ResizeInputTensor(t, {}), kTfLiteOk); in TEST()
459 ASSERT_EQ(interpreter.ResizeInputTensor(t, {0}), kTfLiteOk); in TEST()
463 ASSERT_EQ(interpreter.ResizeInputTensor(t, {1, 2, 0}), kTfLiteOk); in TEST()
473 ASSERT_EQ(interpreter.ResizeInputTensor(t, {2, 2, 4}), kTfLiteOk); in TEST()
[all …]
Dinterpreter.cc128 TfLiteStatus Interpreter::ResizeInputTensor(int tensor_index, in ResizeInputTensor() function in tflite::Interpreter
130 return primary_subgraph().ResizeInputTensor(tensor_index, dims); in ResizeInputTensor()
Dinterpreter.h325 TfLiteStatus ResizeInputTensor(int tensor_index,
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/Examples/HelloTFLite/Scripts/
DHelloTFLite.cs60 interpreter.ResizeInputTensor(0, new int[]{inputs.Length}); in Update()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h60 PyObject* ResizeInputTensor(int i, PyObject* value);
Dinterpreter_wrapper.cc147 PyObject* InterpreterWrapper::ResizeInputTensor(int i, PyObject* value) { in ResizeInputTensor() function in tflite::interpreter_wrapper::InterpreterWrapper
175 TFLITE_PY_CHECK(interpreter_->ResizeInputTensor(i, dims)); in ResizeInputTensor()
/external/libtextclassifier/actions/
Dactions-suggestions.cc721 interpreter->ResizeInputTensor( in AllocateInput()
726 interpreter->ResizeInputTensor( in AllocateInput()
731 interpreter->ResizeInputTensor( in AllocateInput()
737 interpreter->ResizeInputTensor( in AllocateInput()
743 interpreter->ResizeInputTensor( in AllocateInput()
749 interpreter->ResizeInputTensor( in AllocateInput()
/external/tensorflow/tensorflow/lite/python/
Dinterpreter.py204 self._interpreter.ResizeInputTensor(input_index, tensor_size)
/external/tensorflow/tensorflow/lite/experimental/examples/unity/TensorFlowLitePlugin/Assets/TensorFlowLite/SDK/Scripts/
DInterpreter.cs71 public void ResizeInputTensor(int inputTensorIndex, int[] inputTensorShape) { in ResizeInputTensor() method in TensorFlowLite.Interpreter
/external/libtextclassifier/annotator/
Dmodel-executor.cc29 interpreter->ResizeInputTensor(kInputIndexFeatures, features.shape()); in ComputeLogits()
/external/tensorflow/tensorflow/lite/experimental/c/
Dc_api.cc144 return interpreter->impl->ResizeInputTensor( in TFL_InterpreterResizeInputTensor()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dtest_util.cc52 ASSERT_EQ(interpreter_->ResizeInputTensor(tensor_index, values), kTfLiteOk); in SetShape()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc263 if (interpreter_->ResizeInputTensor( in ReshapeTensor()
Dparse_testdata.cc161 interpreter->ResizeInputTensor(input_index, example.inputs[i].shape)); in FeedExample()
/external/tensorflow/tensorflow/lite/core/
Dsubgraph.h201 TfLiteStatus ResizeInputTensor(int tensor_index,
/external/tensorflow/tensorflow/lite/examples/ios/simple/
DRunModelViewController.mm130 interpreter->ResizeInputTensor(input, sizes);
/external/tensorflow/tensorflow/lite/testing/
Dtflite_driver.cc262 if (interpreter_->ResizeInputTensor( in ReshapeTensor()
Dparse_testdata.cc158 interpreter->ResizeInputTensor(input_index, example.inputs[i].shape)); in FeedExample()
/external/tensorflow/tensorflow/lite/tools/benchmark/
Dbenchmark_tflite_model.cc415 interpreter->ResizeInputTensor(i, input.shape); in Init()

12