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

Function New64

tensorflow/core/lib/random/random.cc:35–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33} // anonymous namespace
34
35uint64 New64() {
36 static std::mt19937_64* rng = InitRngWithRandomSeed();
37 static mutex mu(LINKER_INITIALIZED);
38 mutex_lock l(mu);
39 return (*rng)();
40}
41
42uint64 New64DefaultSeed() {
43 static std::mt19937_64 rng = InitRngWithDefaultSeed();

Callers 15

ClassificationStatsMethod · 0.85
TensorDataSetMethod · 0.85
GdrMemoryManagerMethod · 0.85
RdmaChannelMethod · 0.85
CreateUidMethod · 0.85
get_uidFunction · 0.85
CreateMethod · 0.85
XrtGetUniqueWireIDFunction · 0.85
TEST_FFunction · 0.85
FunctionHandleCacheMethod · 0.85
OptionsClass · 0.85

Calls 1

InitRngWithRandomSeedFunction · 0.85

Tested by 15

TEST_FFunction · 0.68
GenerateRandomTensorMethod · 0.68
TEST_FFunction · 0.68
TESTFunction · 0.68
GetTestSeedFunction · 0.68
RandomZeroOrOneFunction · 0.68
RandomZeroOrOneMatrixFunction · 0.68
TEST_FFunction · 0.68
TYPED_TESTFunction · 0.68
NewDeviceFunction · 0.68
TEST_FFunction · 0.68