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.h276 void Skip(uint64 num_skips) { in Skip() argument
277 if (!num_skips) { in Skip()
281 if (num_skips <= num_unused_results) { in Skip()
282 used_result_index_ += num_skips; in Skip()
285 num_skips -= num_unused_results; in Skip()
287 SkipFromGenerator(num_skips / kNativeElementCount); in Skip()
288 num_skips = num_skips % kNativeElementCount; in Skip()
289 if (num_skips) { in Skip()
291 used_result_index_ = num_skips; in Skip()
300 void SkipFromGenerator(uint64 num_skips) { in SkipFromGenerator() argument
[all …]