Home
last modified time | relevance | path

Searched refs:found_command (Results 1 – 17 of 17) sorted by relevance

/external/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands_test.cc31 string found_command; in TEST() local
35 results, 0, &found_command, &score, &is_new_command)); in TEST()
47 string found_command; in TEST() local
52 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
56 new_command = found_command; in TEST()
66 string found_command; in TEST() local
71 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
75 new_command = found_command; in TEST()
88 string found_command; in TEST() local
92 .ProcessLatestResults(bad_results, 0, &found_command, &score, in TEST()
[all …]
Dtest_streaming_accuracy.cc265 string found_command; in main() local
269 outputs[0], current_time_ms, &found_command, &score, &is_new_command); in main()
275 if (is_new_command && (found_command != "_silence_")) { in main()
276 all_found_words.push_back({found_command, current_time_ms}); in main()
298 LOG(INFO) << current_time_ms << "ms: " << found_command << ": " << score in main()
Drecognize_commands.cc36 string* found_command, in ProcessLatestResults() argument
70 *found_command = previous_top_label_; in ProcessLatestResults()
121 *found_command = current_top_label; in ProcessLatestResults()
Drecognize_commands.h59 string* found_command, float* score,
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands_test.cc84 const char* found_command; in TF_LITE_MICRO_TEST() local
89 &results, 0, &found_command, &score, &is_new_command)); in TF_LITE_MICRO_TEST()
105 const char* found_command; in TF_LITE_MICRO_TEST() local
111 &yes_results, current_time_ms, &found_command, &score, in TF_LITE_MICRO_TEST()
116 new_command = found_command; in TF_LITE_MICRO_TEST()
132 const char* found_command; in TF_LITE_MICRO_TEST() local
137 &no_results, current_time_ms, &found_command, &score, in TF_LITE_MICRO_TEST()
142 new_command = found_command; in TF_LITE_MICRO_TEST()
162 const char* found_command; in TF_LITE_MICRO_TEST() local
167 &bad_results, 0, &found_command, &score, &is_new_command)); in TF_LITE_MICRO_TEST()
[all …]
Dcommand_responder.cc22 int32_t current_time, const char* found_command, in RespondToCommand() argument
25 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
Dmain_functions.cc162 const char* found_command = nullptr; in loop() local
166 output, current_time, &found_command, &score, &is_new_command); in loop()
175 RespondToCommand(error_reporter, current_time, found_command, score, in loop()
Drecognize_commands.cc37 const char** found_command, uint8_t* score, bool* is_new_command) { in ProcessLatestResults() argument
85 *found_command = previous_top_label_; in ProcessLatestResults()
138 *found_command = current_top_label; in ProcessLatestResults()
Dcommand_responder.h29 int32_t current_time, const char* found_command,
Drecognize_commands.h142 const char** found_command, uint8_t* score,
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/apollo3evb/
Dcommand_responder.cc26 int32_t current_time, const char* found_command, in RespondToCommand() argument
57 TF_LITE_REPORT_ERROR(error_reporter, "\nHeard %s (%d) @%dms", found_command, in RespondToCommand()
62 if (found_command[0] == 'y') { in RespondToCommand()
89 if (found_command[0] == 'y') { in RespondToCommand()
92 if (found_command[0] == 'n') { in RespondToCommand()
95 if (found_command[0] == 'u') { in RespondToCommand()
100 if (found_command[0] == 'y') { in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/disco_f746ng/
Dcommand_responder.cc25 int32_t current_time, const char* found_command, in RespondToCommand() argument
28 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
30 if (*found_command == 'y') { in RespondToCommand()
33 } else if (*found_command == 'n') { in RespondToCommand()
36 } else if (*found_command == 'u') { in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/sparkfun_edge/
Dcommand_responder.cc29 int32_t current_time, const char* found_command, in RespondToCommand() argument
49 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
51 if (found_command[0] == 'y') { in RespondToCommand()
54 if (found_command[0] == 'n') { in RespondToCommand()
57 if (found_command[0] == 'u') { in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/arduino/
Dcommand_responder.cc29 int32_t current_time, const char* found_command, in RespondToCommand() argument
51 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
54 if (found_command[0] == 'y') { in RespondToCommand()
59 if (found_command[0] == 'n') { in RespondToCommand()
64 if (found_command[0] == 'u') { in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/himax_we1_evb/
Dcommand_responder.cc25 int32_t current_time, const char* found_command, in RespondToCommand() argument
29 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
31 if (found_command[0] == 'y') { in RespondToCommand()
35 } else if (found_command[0] == 'n') { in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/spresense/src/
Dspresense_command_responder.cc28 int32_t current_time, const char* found_command, in RespondToCommand() argument
31 is_new_command ? "F" : " ", found_command, score, in RespondToCommand()
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ceva/
Dmain_functions.cc191 const char* found_command = nullptr; in detection_loop() local
195 output, current_time, &found_command, &score, &is_new_command); in detection_loop()
204 RespondToCommand(error_reporter, current_time, found_command, score, in detection_loop()