/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/train/speech_commands/ |
A D | recognize_commands_test.cc | 31 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 D | test_streaming_accuracy.cc | 265 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 D | recognize_commands.cc | 36 string* found_command, in ProcessLatestResults() argument 70 *found_command = previous_top_label_; in ProcessLatestResults() 121 *found_command = current_top_label; in ProcessLatestResults()
|
A D | recognize_commands.h | 59 string* found_command, float* score,
|
/AliOS-Things-master/solutions/tflite_micro_speech_demo/micro_speech/ |
A D | recognize_commands_test.cc | 84 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 D | command_responder.cc | 72 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 D | recognize_commands.cc | 40 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 D | command_responder.h | 29 int32_t current_time, const char* found_command,
|
A D | main_functions.cc | 190 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 D | recognize_commands.h | 142 const char** found_command, uint8_t* score,
|