MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / get_global_rng_seed

Function get_global_rng_seed

imperative/src/impl/ops/rng.cpp:1016–1018  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1014}
1015
1016uint64_t get_global_rng_seed() {
1017 return RNGDnnOpManager::get_glob_default_seed();
1018}
1019
1020CompNode get_rng_handle_compnode(Handle handle) {
1021 return RNGDnnOpManager::get_comp_node(handle);

Callers 9

test_gaussian_opFunction · 0.90
test_uniform_opFunction · 0.90
test_gamma_opFunction · 0.90
test_beta_opFunction · 0.90
test_poisson_opFunction · 0.90
test_multinomial_opFunction · 0.90
test_exponential_opFunction · 0.90

Calls

no outgoing calls

Tested by 9

test_gaussian_opFunction · 0.72
test_uniform_opFunction · 0.72
test_gamma_opFunction · 0.72
test_beta_opFunction · 0.72
test_poisson_opFunction · 0.72
test_multinomial_opFunction · 0.72
test_exponential_opFunction · 0.72