Home
last modified time | relevance | path

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

/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/
A 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
103 string found_command; in TEST() local
[all …]
A 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()
A 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()
A Drecognize_commands.h59 string* found_command, float* score,
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/
A 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
181 const char* found_command; in TF_LITE_MICRO_TEST() local
[all …]
A Dcommand_responder.cc72 int32_t current_time, const char* found_command, in RespondToCommand() argument
75 TF_LITE_REPORT_ERROR(error_reporter, "Heard %s (%d) @%dms", found_command, in RespondToCommand()
78 if (!strcmp(found_command, kCategoryLabels[2])) { // 打开 in RespondToCommand()
80 LOG("Heard 2 %s (%d) @%dms", found_command, score, current_time); in RespondToCommand()
81 } else if (!strcmp(found_command, kCategoryLabels[3])) { // 关闭 in RespondToCommand()
83 LOG("Heard 3 %s (%d) @%dms", found_command, score, current_time); in RespondToCommand()
A Drecognize_commands.cc40 const char** found_command, uint8_t* score, bool* is_new_command) { in ProcessLatestResults() argument
88 *found_command = previous_top_label_; in ProcessLatestResults()
162 *found_command = current_top_label; in ProcessLatestResults()
A Dcommand_responder.h29 int32_t current_time, const char* found_command,
A Dmain_functions.cc190 const char *found_command = nullptr; in loop() local
194 output, current_time, &found_command, &score, &is_new_command); in loop()
204 RespondToCommand(error_reporter, current_time, found_command, score, in loop()
A Drecognize_commands.h142 const char** found_command, uint8_t* score,

Completed in 10 milliseconds