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

Method ReserveSamples128

tensorflow/core/util/guarded_philox_random.cc:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54random::PhiloxRandom GuardedPhiloxRandom::ReserveSamples128(int64 samples) {
55 CHECK(initialized_);
56 mutex_lock lock(mu_);
57 auto local = generator_;
58 generator_.Skip(samples);
59 return local;
60}
61
62} // namespace tensorflow

Callers 1

ComputeMethod · 0.80

Calls 1

SkipMethod · 0.45

Tested by

no test coverage detected