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.h266 void Skip(uint64 num_skips) { in Skip() argument
267 if (!num_skips) { in Skip()
271 if (num_skips <= num_unused_results) { in Skip()
272 used_result_index_ += num_skips; in Skip()
275 num_skips -= num_unused_results; in Skip()
277 SkipFromGenerator(num_skips / kNativeElementCount); in Skip()
278 num_skips = num_skips % kNativeElementCount; in Skip()
279 if (num_skips) { in Skip()
281 used_result_index_ = num_skips; in Skip()
290 void SkipFromGenerator(uint64 num_skips) { in SkipFromGenerator() argument
[all …]