Home
last modified time | relevance | path

Searched refs:micro_error_reporter (Results 1 – 25 of 43) sorted by relevance

12

/external/tensorflow/tensorflow/lite/micro/memory_planner/
Dgreedy_memory_planner_test.cc35 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
94 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
98 planner.AddBuffer(&micro_error_reporter, 10, 0, 1)); in TF_LITE_MICRO_TEST()
100 planner.AddBuffer(&micro_error_reporter, 20, 2, 3)); in TF_LITE_MICRO_TEST()
103 planner.DoAnyBuffersOverlap(&micro_error_reporter)); in TF_LITE_MICRO_TEST()
110 kTfLiteOk, planner.GetOffsetForBuffer(&micro_error_reporter, 0, &offset)); in TF_LITE_MICRO_TEST()
114 kTfLiteOk, planner.GetOffsetForBuffer(&micro_error_reporter, 1, &offset)); in TF_LITE_MICRO_TEST()
119 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
123 planner.AddBuffer(&micro_error_reporter, 10, 0, 1)); in TF_LITE_MICRO_TEST()
125 planner.AddBuffer(&micro_error_reporter, 20, 1, 2)); in TF_LITE_MICRO_TEST()
[all …]
Dlinear_memory_planner_test.cc24 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
28 planner.AddBuffer(&micro_error_reporter, 10, 0, 1)); in TF_LITE_MICRO_TEST()
30 planner.AddBuffer(&micro_error_reporter, 20, 1, 2)); in TF_LITE_MICRO_TEST()
36 kTfLiteOk, planner.GetOffsetForBuffer(&micro_error_reporter, 0, &offset)); in TF_LITE_MICRO_TEST()
40 kTfLiteOk, planner.GetOffsetForBuffer(&micro_error_reporter, 1, &offset)); in TF_LITE_MICRO_TEST()
45 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
49 planner.AddBuffer(&micro_error_reporter, 10, 0, 1)); in TF_LITE_MICRO_TEST()
53 &micro_error_reporter, 1, &offset)); in TF_LITE_MICRO_TEST()
57 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
61 kTfLiteOk, planner.AddBuffer(&micro_error_reporter, 9216, 0, 29)); in TF_LITE_MICRO_TEST()
[all …]
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands_test.cc24 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
26 PreviousResultsQueue queue(&micro_error_reporter); in TF_LITE_MICRO_TEST()
55 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
57 PreviousResultsQueue queue(&micro_error_reporter); in TF_LITE_MICRO_TEST()
74 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
76 RecognizeCommands recognize_commands(&micro_error_reporter); in TF_LITE_MICRO_TEST()
93 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
95 RecognizeCommands recognize_commands(&micro_error_reporter, 1000, 51); in TF_LITE_MICRO_TEST()
153 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
155 RecognizeCommands recognize_commands(&micro_error_reporter, 1000, 51); in TF_LITE_MICRO_TEST()
[all …]
DBUILD47 "//tensorflow/lite/micro:micro_error_reporter",
104 "//tensorflow/lite/micro:micro_error_reporter",
119 "//tensorflow/lite/micro:micro_error_reporter",
136 "//tensorflow/lite/micro:micro_error_reporter",
151 "//tensorflow/lite/micro:micro_error_reporter",
167 "//tensorflow/lite/micro:micro_error_reporter",
183 "//tensorflow/lite/micro:micro_error_reporter",
196 "//tensorflow/lite/micro:micro_error_reporter",
212 "//tensorflow/lite/micro:micro_error_reporter",
230 "//tensorflow/lite/micro:micro_error_reporter",
[all …]
Daudio_provider_mock_test.cc29 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
34 GetAudioSamples(&micro_error_reporter, 0, kFeatureSliceDurationMs, in TF_LITE_MICRO_TEST()
44 GetAudioSamples(&micro_error_reporter, 500, kFeatureSliceDurationMs, in TF_LITE_MICRO_TEST()
55 GetAudioSamples(&micro_error_reporter, 1500, kFeatureSliceDurationMs, in TF_LITE_MICRO_TEST()
65 GetAudioSamples(&micro_error_reporter, 12250, kFeatureSliceDurationMs, in TF_LITE_MICRO_TEST()
Dfeature_provider_mock_test.cc27 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
34 &micro_error_reporter, /* last_time_in_ms= */ 0, /* time_in_ms= */ 970, in TF_LITE_MICRO_TEST()
46 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
53 &micro_error_reporter, /* last_time_in_ms= */ 4000, in TF_LITE_MICRO_TEST()
Dmicro_speech_test.cc29 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
35 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
61 &micro_error_reporter); in TF_LITE_MICRO_TEST()
84 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
120 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
141 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Ran successfully\n"); in TF_LITE_MICRO_TEST()
Dcommand_responder_test.cc23 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
28 RespondToCommand(&micro_error_reporter, 0, "foo", 0, true); in TF_LITE_MICRO_TEST()
Dfeature_provider_test.cc26 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
33 &micro_error_reporter, /* last_time_in_ms= */ 0, /* time_in_ms= */ 10000, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/micro_features/
Dmicro_features_generator_test.cc32 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
35 InitializeMicroFeatures(&micro_error_reporter)); in TF_LITE_MICRO_TEST()
54 &micro_error_reporter, g_yes_30ms_sample_data, in TF_LITE_MICRO_TEST()
64 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
71 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
74 InitializeMicroFeatures(&micro_error_reporter)); in TF_LITE_MICRO_TEST()
89 &micro_error_reporter, g_no_30ms_sample_data, g_no_30ms_sample_data_size, in TF_LITE_MICRO_TEST()
98 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/magic_wand/
Doutput_handler_test.cc23 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
24 HandleOutput(&micro_error_reporter, 0); in TF_LITE_MICRO_TEST()
25 HandleOutput(&micro_error_reporter, 1); in TF_LITE_MICRO_TEST()
26 HandleOutput(&micro_error_reporter, 2); in TF_LITE_MICRO_TEST()
27 HandleOutput(&micro_error_reporter, 3); in TF_LITE_MICRO_TEST()
Daccelerometer_handler_test.cc27 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
28 TfLiteStatus setup_status = SetupAccelerometer(&micro_error_reporter); in TF_LITE_MICRO_TEST()
34 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
36 bool inference_flag = ReadAccelerometer(&micro_error_reporter, input, 384); in TF_LITE_MICRO_TEST()
42 inference_flag = ReadAccelerometer(&micro_error_reporter, input, 384); in TF_LITE_MICRO_TEST()
Dmagic_wand_test.cc29 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
35 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
61 &micro_error_reporter); in TF_LITE_MICRO_TEST()
82 TF_LITE_REPORT_ERROR(&micro_error_reporter, "%d", input->bytes); in TF_LITE_MICRO_TEST()
90 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
127 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
DBUILD39 "//tensorflow/lite/micro:micro_error_reporter",
64 "//tensorflow/lite/micro:micro_error_reporter",
76 "//tensorflow/lite/micro:micro_error_reporter",
119 "//tensorflow/lite/micro:micro_error_reporter",
154 "//tensorflow/lite/micro:micro_error_reporter",
/external/tensorflow/tensorflow/lite/micro/examples/person_detection/
Dperson_detection_test.cc35 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
41 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
62 &micro_error_reporter); in TF_LITE_MICRO_TEST()
84 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
99 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
110 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
126 &micro_error_reporter, in TF_LITE_MICRO_TEST()
131 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Ran successfully\n"); in TF_LITE_MICRO_TEST()
Ddetection_responder_test.cc23 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
28 RespondToDetection(&micro_error_reporter, -100, 100); in TF_LITE_MICRO_TEST()
29 RespondToDetection(&micro_error_reporter, 100, 50); in TF_LITE_MICRO_TEST()
DBUILD61 "//tensorflow/lite/micro:micro_error_reporter",
80 "//tensorflow/lite/micro:micro_error_reporter",
93 "//tensorflow/lite/micro:micro_error_reporter",
108 "//tensorflow/lite/micro:micro_error_reporter",
138 "//tensorflow/lite/micro:micro_error_reporter",
Dimage_provider_test.cc28 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
31 TfLiteStatus get_status = GetImage(&micro_error_reporter, kNumCols, kNumRows, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/simple_features/
Dsimple_features_generator_test.cc29 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
33 &micro_error_reporter, g_yes_30ms_sample_data, in TF_LITE_MICRO_TEST()
43 &micro_error_reporter, "Expected value %d but found %d", in TF_LITE_MICRO_TEST()
50 &micro_error_reporter, g_no_30ms_sample_data, g_no_30ms_sample_data_size, in TF_LITE_MICRO_TEST()
57 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/network_tester/
Dnetwork_tester_test.cc74 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
78 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
88 model, resolver, tensor_arena, TENSOR_ARENA_SIZE, &micro_error_reporter); in TF_LITE_MICRO_TEST()
92 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Tensor allocation failed\n"); in TF_LITE_MICRO_TEST()
103 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
134 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Ran successfully\n"); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/image_recognition_experimental/
Dimage_recognition_test.cc32 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
36 TF_LITE_REPORT_ERROR(&micro_error_reporter, in TF_LITE_MICRO_TEST()
54 &micro_error_reporter); in TF_LITE_MICRO_TEST()
85 TF_LITE_REPORT_ERROR(&micro_error_reporter, "Invoke failed\n"); in TF_LITE_MICRO_TEST()
/external/tensorflow/tensorflow/lite/micro/examples/hello_world/
Doutput_handler_test.cc23 tflite::MicroErrorReporter micro_error_reporter; in TF_LITE_MICRO_TEST() local
28 HandleOutput(&micro_error_reporter, 0, 0); in TF_LITE_MICRO_TEST()
DBUILD32 "//tensorflow/lite/micro:micro_error_reporter",
51 "//tensorflow/lite/micro:micro_error_reporter",
82 "//tensorflow/lite/micro:micro_error_reporter",
/external/tensorflow/tensorflow/lite/micro/
Dmicro_error_reporter_test.cc20 tflite::MicroErrorReporter micro_error_reporter; in main() local
21 tflite::ErrorReporter* error_reporter = &micro_error_reporter; in main()
/external/tensorflow/tensorflow/lite/micro/benchmarks/
DBUILD22 "//tensorflow/lite/micro:micro_error_reporter",
49 "//tensorflow/lite/micro:micro_error_reporter",
66 "//tensorflow/lite/micro:micro_error_reporter",

12