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

Function new_handle

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

Source from the content-addressed store, hash-verified

1002} // anonymous namespace
1003
1004Handle new_handle(CompNode comp_node, uint64_t seed) {
1005 return RNGDnnOpManager::inst().new_handle(comp_node, seed);
1006}
1007
1008size_t delete_handle(Handle handle) {
1009 return RNGDnnOpManager::inst().delete_handle(handle);

Callers 4

check_rng_basicFunction · 0.85
new_handleMethod · 0.85

Calls 2

instFunction · 0.85
new_handleMethod · 0.45

Tested by 3

check_rng_basicFunction · 0.68