Home
last modified time | relevance | path

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

/packages/modules/NeuralNetworks/common/random/
Drandom_distributions.h267 void Skip(uint64 num_skips) { in Skip() argument
268 if (!num_skips) { in Skip()
272 if (num_skips <= num_unused_results) { in Skip()
273 used_result_index_ += num_skips; in Skip()
276 num_skips -= num_unused_results; in Skip()
278 SkipFromGenerator(num_skips / kNativeElementCount); in Skip()
279 num_skips = num_skips % kNativeElementCount; in Skip()
280 if (num_skips) { in Skip()
282 used_result_index_ = num_skips; in Skip()
291 void SkipFromGenerator(uint64 num_skips) { in SkipFromGenerator() argument
[all …]