/external/tensorflow/tensorflow/lite/ |
D | interpreter_test.cc | 73 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 86 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 100 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 120 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 151 ASSERT_NE(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 159 ASSERT_NE(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 170 ASSERT_NE(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 207 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 252 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() 301 ASSERT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TEST() [all …]
|
D | model_xnnpack_test.cc | 43 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST() 71 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
|
D | model_test.cc | 288 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteError); in TEST() 495 ASSERT_NE(interpreter->AllocateTensors(), kTfLiteOk); in TEST() 516 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST() 566 interpreter->AllocateTensors(); in TEST() 596 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
|
D | model_flex_test.cc | 39 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
|
/external/tensorflow/tensorflow/lite/kernels/ |
D | subgraph_test_util_test.cc | 53 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TestAccumulateLoopBody() 76 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 91 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 106 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 121 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 137 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 159 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F()
|
D | variable_ops_test.cc | 77 ASSERT_EQ(interpreter_.AllocateTensors(), kTfLiteOk); in TEST_F() 93 ASSERT_EQ(interpreter_.AllocateTensors(), kTfLiteOk); in TEST_F() 108 ASSERT_EQ(interpreter_.AllocateTensors(), kTfLiteOk); in TEST_F() 127 ASSERT_EQ(interpreter_.AllocateTensors(), kTfLiteOk); in TEST_F()
|
D | while.cc | 158 TF_LITE_ENSURE_OK(context, cond_subgraph->AllocateTensors()); in Prepare() 175 TF_LITE_ENSURE_OK(context, body_subgraph->AllocateTensors()); in Prepare() 264 TF_LITE_ENSURE_OK(context, cond_subgraph->AllocateTensors()); in Eval() 289 TF_LITE_ENSURE_OK(context, body_subgraph->AllocateTensors()); in Eval() 308 TF_LITE_ENSURE_OK(context, cond_subgraph->AllocateTensors()); in Eval()
|
D | while_test.cc | 53 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 74 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 103 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F()
|
D | if_test.cc | 47 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in SetUp() 81 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in SetUp()
|
/external/tensorflow/tensorflow/lite/delegates/ |
D | delegate_test.cc | 405 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 467 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 491 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 523 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 556 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteError); in TEST_F() 585 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 623 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 754 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteError); in TEST_F() 770 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST_F() 912 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() [all …]
|
/external/tensorflow/tensorflow/lite/testing/ |
D | tflite_driver_test.cc | 41 runner->AllocateTensors(); in TEST() 78 runner->AllocateTensors(); in TEST() 111 runner->AllocateTensors(); in TEST()
|
/external/tensorflow/tensorflow/lite/micro/ |
D | micro_interpreter_test.cc | 73 TF_LITE_MICRO_EXPECT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TF_LITE_MICRO_TEST() 127 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, interpreter0.AllocateTensors()); in TF_LITE_MICRO_TEST() 148 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, interpreter1.AllocateTensors()); in TF_LITE_MICRO_TEST() 160 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, interpreter2.AllocateTensors()); in TF_LITE_MICRO_TEST() 190 TF_LITE_MICRO_EXPECT_EQ(kTfLiteOk, interpreter3.AllocateTensors()); in TF_LITE_MICRO_TEST() 223 TF_LITE_MICRO_EXPECT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TF_LITE_MICRO_TEST() 267 TF_LITE_MICRO_EXPECT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TF_LITE_MICRO_TEST() 364 TF_LITE_MICRO_EXPECT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TF_LITE_MICRO_TEST() 506 TF_LITE_MICRO_EXPECT_EQ(interpreter.AllocateTensors(), kTfLiteOk); in TF_LITE_MICRO_TEST()
|
D | memory_arena_threshold_test.cc | 207 interpreter.AllocateTensors(); in TF_LITE_MICRO_TEST() 236 interpreter.AllocateTensors(); in TF_LITE_MICRO_TEST()
|
/external/tensorflow/tensorflow/lite/tools/serialization/ |
D | writer_lib_test.cc | 132 CHECK_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_P() 180 ASSERT_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_P() 275 CHECK_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_P() 306 CHECK_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_P() 381 ASSERT_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_P() 443 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in TEST_F() 475 ASSERT_EQ(new_interpreter->AllocateTensors(), kTfLiteOk); in TEST_F()
|
/external/tensorflow/tensorflow/lite/tools/optimize/calibration/ |
D | calibrator_test.cc | 59 status = interpreter->AllocateTensors(); in TEST() 132 status = interpreter->AllocateTensors(); in TEST() 208 status = interpreter->AllocateTensors(); in TEST() 294 status = interpreter->AllocateTensors(); in TEST() 356 EXPECT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST() 416 EXPECT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
|
/external/tensorflow/tensorflow/lite/delegates/gpu/common/testing/feature_parity/ |
D | utils.cc | 134 absl::Status AllocateTensors(std::unique_ptr<Interpreter>* interpreter) { in AllocateTensors() function 135 if ((*interpreter)->AllocateTensors() != kTfLiteOk) { in AllocateTensors()
|
/external/tensorflow/tensorflow/lite/delegates/xnnpack/ |
D | leaky_relu_tester.cc | 70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
D | softmax_tester.cc | 70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
D | reshape_tester.cc | 72 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 73 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
D | unary_elementwise_tester.cc | 78 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 79 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
D | reduce_tester.cc | 71 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 72 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
D | depth_to_space_tester.cc | 70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test() 71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
|
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | tflite_inference_stage.cc | 70 TF_LITE_ENSURE_STATUS(interpreter_->AllocateTensors()); in ResizeInputs() 141 interpreter_->AllocateTensors(); in Init()
|
/external/tensorflow/tensorflow/lite/kernels/hashtable/ |
D | hashtable_ops_test.cc | 424 TfLiteStatus AllocateTensors(bool table_two_initialization = false) { in AllocateTensors() function in tflite::__anon861f49270111::HashtableGraph 425 if (interpreter_->AllocateTensors() != kTfLiteOk) { in AllocateTensors() 531 EXPECT_EQ(graph_->AllocateTensors(), kTfLiteOk); in Invoke() 585 EXPECT_EQ(graph.AllocateTensors(), kTfLiteOk); in TEST() 598 EXPECT_EQ(graph.AllocateTensors(), kTfLiteOk); in TEST() 614 EXPECT_EQ(graph.AllocateTensors(/*table_two_initialization=*/true), in TEST() 630 EXPECT_EQ(graph.AllocateTensors(), kTfLiteOk); in TEST()
|
/external/tensorflow/tensorflow/lite/examples/minimal/ |
D | minimal.cc | 60 TFLITE_MINIMAL_CHECK(interpreter->AllocateTensors() == kTfLiteOk); in main()
|