Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util_test.cc51 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 …]
Dwhile_test.cc51 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()
Dif_test.cc44 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()
Dvariable_ops_test.cc126 interpreter_.ResizeInputTensor(2, {2}); in TEST_F()
Dif.cc92 subgraph->ResizeInputTensor(i, dims); in Prepare()
Dwhile.cc60 dst_subgraph->ResizeInputTensor(dst_tensor_indices[i], dims); in CopyTensorsShapeAndType()
/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test.cc374 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/
Dinterpreter_test.cc302 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 …]
Dinterpreter.cc264 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/
Dprofile_summarizer_test.cc161 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/
Dwriter_lib_test.cc441 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/
DHelloTFLite.cs70 interpreter.ResizeInputTensor(0, new int[]{inputs.Length}); in Update()
/external/tensorflow/tensorflow/lite/python/interpreter_wrapper/
Dinterpreter_wrapper.h77 PyObject* ResizeInputTensor(int i, PyObject* value, bool strict);
Dinterpreter_wrapper_pybind11.cc103 self.ResizeInputTensor(i, value.ptr(), strict)); in PYBIND11_MODULE()
Dinterpreter_wrapper.cc277 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/
Dactions-suggestions.cc605 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/
Dmodel-executor.cc29 interpreter->ResizeInputTensor(kInputIndexFeatures, features.shape()); in ComputeLogits()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.cc66 TF_LITE_ENSURE_STATUS(interpreter_->ResizeInputTensor(i, shapes[j])); in ResizeInputs()
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc310 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/
DInterpreter.cs103 public void ResizeInputTensor(int inputTensorIndex, int[] inputTensorShape) { in ResizeInputTensor() method in TensorFlowLite.Interpreter
/external/tensorflow/tensorflow/lite/delegates/hexagon/builders/tests/
Dbatch_seq_config_test.cc135 interpreter_->ResizeInputTensor(interpreter_inputs[0], input_shape); in Run()
/external/tensorflow/tensorflow/lite/delegates/flex/
Dtest_util.cc52 ASSERT_EQ(interpreter_->ResizeInputTensor(tensor_index, values), kTfLiteOk); in SetShape()
/external/tensorflow/tensorflow/lite/delegates/nnapi/
Dnnapi_delegate_test.cc81 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/
Dc_api.cc159 return interpreter->impl->ResizeInputTensor( in TfLiteInterpreterResizeInputTensor()
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtflite_driver.cc263 if (interpreter_->ResizeInputTensor( in ReshapeTensor()

12