MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Uniform64

Method Uniform64

tensorflow/core/lib/random/simple_philox.cc:27–29  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27uint64 SimplePhilox::Uniform64(uint64 n) {
28 return ExactUniformInt<uint64>(n, [this]() { return Rand64(); });
29}
30
31uint32 SimplePhilox::Skewed(int max_log) {
32 CHECK(0 <= max_log && max_log <= 32);

Callers 4

TESTFunction · 0.80
ComputeMethod · 0.80
SampleMethod · 0.80

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.64