Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Drecognize_commands.cc30 previous_results_(error_reporter) { in RecognizeCommands()
56 if ((!previous_results_.empty()) && in ProcessLatestResults()
57 (current_time_ms < previous_results_.front().time_)) { in ProcessLatestResults()
61 current_time_ms, previous_results_.front().time_); in ProcessLatestResults()
66 previous_results_.push_back({current_time_ms, latest_results->data.uint8}); in ProcessLatestResults()
70 while ((!previous_results_.empty()) && in ProcessLatestResults()
71 previous_results_.front().time_ < time_limit) { in ProcessLatestResults()
72 previous_results_.pop_front(); in ProcessLatestResults()
77 const int64_t how_many_results = previous_results_.size(); in ProcessLatestResults()
78 const int64_t earliest_time = previous_results_.front().time_; in ProcessLatestResults()
[all …]
Drecognize_commands.h151 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/webrtc/modules/audio_processing/transient/
Dtransient_detector.cc63 previous_results_.push_back(0.f); in TransientDetector()
132 previous_results_.pop_front(); in Detect()
133 previous_results_.push_back(result); in Detect()
138 return *std::max_element(previous_results_.begin(), previous_results_.end()); in Detect()
Dtransient_detector.h73 std::deque<float> previous_results_; variable