Home
last modified time | relevance | path

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

/frameworks/ml/nn/common/random/
Drandom_distributions.h265 void Skip(uint64 num_skips) { in Skip() argument
266 if (!num_skips) { in Skip()
270 if (num_skips <= num_unused_results) { in Skip()
271 used_result_index_ += num_skips; in Skip()
274 num_skips -= num_unused_results; in Skip()
276 SkipFromGenerator(num_skips / kNativeElementCount); in Skip()
277 num_skips = num_skips % kNativeElementCount; in Skip()
278 if (num_skips) { in Skip()
280 used_result_index_ = num_skips; in Skip()
289 void SkipFromGenerator(uint64 num_skips) { in SkipFromGenerator() argument
[all …]