Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/random/
Drandom_distributions.h253 : generator_(gen), used_result_index_(Generator::kResultElementCount) {} in SingleSampleAdapter()
257 if (used_result_index_ == Generator::kResultElementCount) { in operator()
259 used_result_index_ = 0; in operator()
262 return unused_results_[used_result_index_++]; in operator()
270 int num_unused_results = kNativeElementCount - used_result_index_; in Skip()
272 used_result_index_ += num_skips; in Skip()
276 used_result_index_ = kNativeElementCount; in Skip()
281 used_result_index_ = num_skips; in Skip()
298 int used_result_index_; variable