Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1016
uint64_t get_global_rng_seed() {
1017
return RNGDnnOpManager::get_glob_default_seed();
1018
}
1019
1020
CompNode get_rng_handle_compnode(Handle handle) {
1021
return RNGDnnOpManager::get_comp_node(handle);
Callers
9
test_gaussian_op
Function · 0.90
test_uniform_op
Function · 0.90
test_gamma_op
Function · 0.90
test_beta_op
Function · 0.90
test_poisson_op
Function · 0.90
test_multinomial_op
Function · 0.90
test_multinomial_op_without_replacement
Function · 0.90
test_permutation_op_dtype
Function · 0.90
test_exponential_op
Function · 0.90
Calls
no outgoing calls
Tested by
9
test_gaussian_op
Function · 0.72
test_uniform_op
Function · 0.72
test_gamma_op
Function · 0.72
test_beta_op
Function · 0.72
test_poisson_op
Function · 0.72
test_multinomial_op
Function · 0.72
test_multinomial_op_without_replacement
Function · 0.72
test_permutation_op_dtype
Function · 0.72
test_exponential_op
Function · 0.72