Searched refs:latest_results (Results 1 – 5 of 5) sorted by relevance
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ |
D | recognize_commands.cc | 36 const TfLiteTensor* latest_results, const int32_t current_time_ms, in ProcessLatestResults() argument 38 if ((latest_results->dims->size != 2) || in ProcessLatestResults() 39 (latest_results->dims->data[0] != 1) || in ProcessLatestResults() 40 (latest_results->dims->data[1] != kCategoryCount)) { in ProcessLatestResults() 45 kCategoryCount, latest_results->dims->data[1], in ProcessLatestResults() 46 latest_results->dims->size); in ProcessLatestResults() 50 if (latest_results->type != kTfLiteInt8) { in ProcessLatestResults() 54 latest_results->type); in ProcessLatestResults() 69 previous_results_.push_back({current_time_ms, latest_results->data.int8}); in ProcessLatestResults()
|
D | recognize_commands.h | 140 TfLiteStatus ProcessLatestResults(const TfLiteTensor* latest_results,
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | recognize_commands.cc | 34 Status RecognizeCommands::ProcessLatestResults(const Tensor& latest_results, in ProcessLatestResults() argument 39 if (latest_results.NumElements() != labels_count_) { in ProcessLatestResults() 42 " elements, but there are ", latest_results.NumElements()); in ProcessLatestResults() 55 previous_results_.push_back({current_time_ms, latest_results}); in ProcessLatestResults()
|
D | recognize_commands.py | 106 def process_latest_result(self, latest_results, current_time_ms, argument 125 if latest_results.shape[0] != self._label_count: 128 self._label_count, latest_results.shape[0])) 137 self._previous_results.append([current_time_ms, latest_results])
|
D | recognize_commands.h | 57 Status ProcessLatestResults(const Tensor& latest_results,
|