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

Method Uniform

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

Source from the content-addressed store, hash-verified

21namespace random {
22
23uint32 SimplePhilox::Uniform(uint32 n) {
24 return ExactUniformInt<uint32>(n, [this]() { return Rand32(); });
25}
26
27uint64 SimplePhilox::Uniform64(uint64 n) {
28 return ExactUniformInt<uint64>(n, [this]() { return Rand64(); });

Callers 15

RandomSampleMethod · 0.80
__init__Method · 0.80
TEST_FFunction · 0.80
GenerateSplitMethod · 0.80
ComputeMethod · 0.80
testUniformRangeMethod · 0.80
testUniformPDFMethod · 0.80
testUniformShapeMethod · 0.80

Calls

no outgoing calls