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

Function InitRngWithRandomSeed

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

Source from the content-addressed store, hash-verified

25
26namespace {
27std::mt19937_64* InitRngWithRandomSeed() {
28 std::random_device device("/dev/urandom");
29 return new std::mt19937_64(device());
30}
31std::mt19937_64 InitRngWithDefaultSeed() { return std::mt19937_64(); }
32
33} // anonymous namespace

Callers 1

New64Function · 0.85

Calls 1

deviceFunction · 0.50

Tested by

no test coverage detected