/external/tensorflow/tensorflow/lite/delegates/flex/ |
D | delegate_test.cc | 52 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() 77 AddTensors(3, {0, 1}, {2}, kTfLiteInt32, {2}); in TEST_F() 96 AddTensors(3, {0, 1}, {2}, kTfLiteString, {2}); in TEST_F() 115 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() 137 AddTensors(10, {0}, {9}, kTfLiteFloat32, {3}); in TEST_F() 161 AddTensors(10, {0, 1}, {2}, kTfLiteFloat32, {3}); in TEST_F() 179 AddTensors(10, {0, 1}, {2}, kTfLiteFloat32, {3}); in TEST_F() 208 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() 226 AddTensors(10, {0}, {9}, kTfLiteFloat32, {3}); in TEST_F() 256 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() [all …]
|
D | kernel_test.cc | 103 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() 140 AddTensors(2, {0}, {1}, kTfLiteFloat32, {3}); in TEST_F() 153 AddTensors(3, {0}, {1, 2}, kTfLiteFloat32, {3}); in TEST_F() 169 AddTensors(2, {0}, {1}, kTfLiteFloat32, {3}); in TEST_F() 187 AddTensors(4, {0}, {3}, kTfLiteFloat32, {3}); in TEST_F() 202 AddTensors(9, {0, 3}, {8}, kTfLiteFloat32, {3}); in TEST_F() 233 AddTensors(18, {0, 1}, {17}, kTfLiteFloat32, {3}); in TEST_F() 317 AddTensors(kMaxTensors, {kInput, kOnes, kTwos}, {12}, kTfLiteFloat32, {3}); in TEST_F() 350 AddTensors(kMaxTensors, {kInput, kOnes, kTwos}, {12}, kTfLiteFloat32, {3}); in TEST_F() 386 AddTensors(kMaxTensors, {kInput, kOnes, kTwos}, {12}, kTfLiteFloat32, {3}); in TEST_F()
|
D | test_util.cc | 70 void FlexModelTest::AddTensors(int num_tensors, const std::vector<int>& inputs, in AddTensors() function in tflite::flex::testing::FlexModelTest 73 interpreter_->AddTensors(num_tensors); in AddTensors()
|
D | test_util.h | 88 void AddTensors(int num_tensors, const std::vector<int>& inputs,
|
/external/tensorflow/tensorflow/lite/ |
D | graph_info_test.cc | 58 void AddTensors(int count) { tensors_.resize(count + tensors_.size()); } in AddTensors() function in tflite::__anon531b66cb0111::SimpleTestGraph 118 graph.AddTensors(1); in TEST() 131 graph.AddTensors(2); in TEST() 151 graph.AddTensors(1); in TEST() 171 graph.AddTensors(2); in TEST() 193 graph.AddTensors(3); in TEST() 221 graph.AddTensors(3); in TEST() 251 graph.AddTensors(4); in TEST()
|
D | interpreter_test.cc | 87 ASSERT_EQ(interpreter.AddTensors(1, &tensor_index), kTfLiteOk); in TEST() 107 ASSERT_EQ(interpreter.AddTensors(2, &base_index), kTfLiteOk); in TEST() 110 ASSERT_EQ(interpreter.AddTensors(3, &base_index), kTfLiteOk); in TEST() 112 ASSERT_EQ(interpreter.AddTensors(1), kTfLiteOk); in TEST() 149 ASSERT_EQ(interpreter.AddTensors(2), kTfLiteOk); in TEST() 172 ASSERT_EQ(interpreter.AddTensors(2), kTfLiteOk); in TEST() 189 ASSERT_EQ(interpreter.AddTensors(2), kTfLiteOk); in TEST() 256 ASSERT_EQ(interpreter.AddTensors(2), kTfLiteOk); in TEST() 293 ASSERT_EQ(interpreter.AddTensors(4), kTfLiteOk); in TEST() 310 ASSERT_EQ(interpreter.AddTensors(10), kTfLiteOk); in TEST() [all …]
|
D | string_util_test.cc | 26 interpreter.AddTensors(3); in TEST() 93 interpreter.AddTensors(1); in TEST() 116 interpreter.AddTensors(1); in TEST() 129 interpreter.AddTensors(1); in TEST()
|
D | interpreter.cc | 146 TfLiteStatus Interpreter::AddTensors(int tensors_to_add, in AddTensors() function in tflite::Interpreter 148 return primary_subgraph().AddTensors(tensors_to_add, first_new_tensor_index); in AddTensors()
|
D | interpreter.h | 156 TfLiteStatus AddTensors(int tensors_to_add,
|
D | model.cc | 537 if (modified_subgraph->AddTensors(tensors->Length()) != kTfLiteOk) { in operator ()()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | subgraph_test_util.cc | 70 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildAddSubgraph() 100 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildMulSubgraph() 130 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildPadSubgraph() 160 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildIfSubgraph() 200 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildLessEqualCondSubgraph() 235 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildAccumulateLoopBodySubgraph() 280 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildPadLoopBodySubgraph() 323 ASSERT_EQ(subgraph->AddTensors(kTensorCount, &first_new_tensor_index), in BuildWhileSubgraph()
|
D | conv.cc | 178 context->AddTensors(context, 1, &data->im2col_id); in AllocateTemporaryTensorsIfRequired() 185 context->AddTensors(context, 1, &data->hwcn_weights_id); in AllocateTemporaryTensorsIfRequired() 195 context, context->AddTensors(context, 1, &data->input_quantized_id)); in AllocateTemporaryTensorsIfRequired() 204 context, context->AddTensors(context, 1, &data->scaling_factors_id)); in AllocateTemporaryTensorsIfRequired()
|
D | detection_postprocess.cc | 118 context->AddTensors(context, 1, &op_data->decoded_boxes_index); in Init() 119 context->AddTensors(context, 1, &op_data->scores_index); in Init() 120 context->AddTensors(context, 1, &op_data->active_candidate_index); in Init()
|
D | transpose_conv.cc | 95 context->AddTensors(context, 1, &data->im2col_id); in AllocateIm2colTensorIfRequired()
|
D | basic_rnn.cc | 51 context->AddTensors(context, /*tensors_to_add=*/3, scratch_tensor_index); in Init()
|
D | unidirectional_sequence_rnn.cc | 46 context->AddTensors(context, /*tensors_to_add=*/3, scratch_tensor_index); in Init()
|
D | svdf.cc | 116 context->AddTensors(context, /*tensors_to_add=*/4, in Init()
|
D | fully_connected.cc | 73 context->AddTensors(context, /*tensors_to_add=*/2, in Init()
|
/external/tensorflow/tensorflow/lite/examples/label_image/ |
D | bitmap_helpers_impl.h | 40 interpreter->AddTensors(2, &base_index); in resize() 42 interpreter->AddTensors(1, &base_index); in resize()
|
/external/tensorflow/tensorflow/lite/experimental/writer/ |
D | writer_lib_test.cc | 28 interpreter.AddTensors(3); in TEST()
|
/external/tensorflow/tensorflow/lite/core/ |
D | subgraph.cc | 150 context_->AddTensors = AddTensors; in Subgraph() 777 TfLiteStatus Subgraph::AddTensors(int tensors_to_add, in AddTensors() function in tflite::Subgraph 791 TfLiteStatus Subgraph::AddTensors(TfLiteContext* context, int tensors_to_add, in AddTensors() function in tflite::Subgraph 797 ->AddTensors(tensors_to_add, first_new_tensor_index); in AddTensors()
|
D | subgraph.h | 81 TfLiteStatus AddTensors(int tensors_to_add, 376 static TfLiteStatus AddTensors(TfLiteContext* context, int tensors_to_add,
|
/external/tensorflow/tensorflow/lite/experimental/micro/testing/ |
D | test_utils.h | 89 context->AddTensors = nullptr; in PopulateContext()
|
/external/tensorflow/tensorflow/lite/c/ |
D | c_api_internal.h | 431 TfLiteStatus (*AddTensors)(struct TfLiteContext*, int tensors_to_add, member
|
/external/tensorflow/tensorflow/lite/experimental/micro/ |
D | micro_interpreter.cc | 150 context_.AddTensors = nullptr; in MicroInterpreter()
|