Home
last modified time | relevance | path

Searched refs:AllocateTensors (Results 1 – 25 of 123) sorted by relevance

12345

/external/tensorflow/tensorflow/lite/
Dinterpreter_test.cc73 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 …]
Dmodel_xnnpack_test.cc43 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
71 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
Dmodel_test.cc288 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()
Dmodel_flex_test.cc39 ASSERT_EQ(interpreter->AllocateTensors(), kTfLiteOk); in TEST()
/external/tensorflow/tensorflow/lite/kernels/
Dsubgraph_test_util_test.cc53 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()
Dvariable_ops_test.cc77 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()
Dwhile.cc158 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()
Dwhile_test.cc53 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()
Dif_test.cc47 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in SetUp()
81 ASSERT_EQ(interpreter_->AllocateTensors(), kTfLiteOk); in SetUp()
/external/tensorflow/tensorflow/lite/delegates/
Ddelegate_test.cc405 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/
Dtflite_driver_test.cc41 runner->AllocateTensors(); in TEST()
78 runner->AllocateTensors(); in TEST()
111 runner->AllocateTensors(); in TEST()
/external/tensorflow/tensorflow/lite/micro/
Dmicro_interpreter_test.cc73 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()
Dmemory_arena_threshold_test.cc207 interpreter.AllocateTensors(); in TF_LITE_MICRO_TEST()
236 interpreter.AllocateTensors(); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/tools/serialization/
Dwriter_lib_test.cc132 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/
Dcalibrator_test.cc59 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/
Dutils.cc134 absl::Status AllocateTensors(std::unique_ptr<Interpreter>* interpreter) { in AllocateTensors() function
135 if ((*interpreter)->AllocateTensors() != kTfLiteOk) { in AllocateTensors()
/external/tensorflow/tensorflow/lite/delegates/xnnpack/
Dleaky_relu_tester.cc70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
Dsoftmax_tester.cc70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
Dreshape_tester.cc72 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
73 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
Dunary_elementwise_tester.cc78 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
79 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
Dreduce_tester.cc71 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
72 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
Ddepth_to_space_tester.cc70 ASSERT_EQ(delegate_interpreter->AllocateTensors(), kTfLiteOk); in Test()
71 ASSERT_EQ(default_interpreter->AllocateTensors(), kTfLiteOk); in Test()
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/
Dtflite_inference_stage.cc70 TF_LITE_ENSURE_STATUS(interpreter_->AllocateTensors()); in ResizeInputs()
141 interpreter_->AllocateTensors(); in Init()
/external/tensorflow/tensorflow/lite/kernels/hashtable/
Dhashtable_ops_test.cc424 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/
Dminimal.cc60 TFLITE_MINIMAL_CHECK(interpreter->AllocateTensors() == kTfLiteOk); in main()

12345