Home
last modified time | relevance | path

Searched refs:previous_results_ (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/
Drecognize_commands.cc30 previous_results_(error_reporter) { in RecognizeCommands()
58 if ((!previous_results_.empty()) && in ProcessLatestResults()
59 (current_time_ms < previous_results_.front().time_)) { in ProcessLatestResults()
64 current_time_ms, previous_results_.front().time_); in ProcessLatestResults()
69 previous_results_.push_back({current_time_ms, latest_results->data.int8}); in ProcessLatestResults()
73 while ((!previous_results_.empty()) && in ProcessLatestResults()
74 previous_results_.front().time_ < time_limit) { in ProcessLatestResults()
75 previous_results_.pop_front(); in ProcessLatestResults()
80 const int64_t how_many_results = previous_results_.size(); in ProcessLatestResults()
81 const int64_t earliest_time = previous_results_.front().time_; in ProcessLatestResults()
[all …]
Drecognize_commands.h154 PreviousResultsQueue previous_results_; variable
/external/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands.cc45 if ((!previous_results_.empty()) && in ProcessLatestResults()
46 (current_time_ms < previous_results_.front().first)) { in ProcessLatestResults()
51 previous_results_.front().first); in ProcessLatestResults()
55 previous_results_.push_back({current_time_ms, latest_results}); in ProcessLatestResults()
59 while (previous_results_.front().first < time_limit) { in ProcessLatestResults()
60 previous_results_.pop_front(); in ProcessLatestResults()
65 const int64 how_many_results = previous_results_.size(); in ProcessLatestResults()
66 const int64 earliest_time = previous_results_.front().first; in ProcessLatestResults()
78 for (const auto& previous_result : previous_results_) { in ProcessLatestResults()
Drecognize_commands.h71 std::deque<std::pair<int64, Tensor>> previous_results_; variable
/external/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc65 previous_results_.push_back(0.f); in TransientDetector()
135 previous_results_.pop_front(); in Detect()
136 previous_results_.push_back(result); in Detect()
141 return *std::max_element(previous_results_.begin(), previous_results_.end()); in Detect()
Dtransient_detector.h75 std::deque<float> previous_results_; variable