Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ RandomState
Method
RandomState
dnn/test/common/random_state.h:14–14 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
12
13
private:
14
RandomState() : m_generator(m_seed) {}
15
std::mt19937 m_generator;
16
const static int m_seed = 42;
17
static RandomState* instance() { return &m_instance; }
Callers
5
make_data_given_desc
Function · 0.80
__init__
Method · 0.80
test_conv_transpose2d
Function · 0.80
gen_elemadd_data
Function · 0.80
gen_matmul_data
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected