MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / initialize

Function initialize

flow-rs/src/registry.rs:116–118  ·  view source on GitHub ↗
(id: u64)

Source from the content-addressed store, hash-verified

114}
115
116pub(crate) fn initialize(id: u64) {
117 INITIALIZE.read().unwrap().iter().for_each(|f| f(id));
118}
119
120pub(crate) fn finalize(id: u64) {
121 FINALIZE.read().unwrap().iter().for_each(|f| f(id));

Callers 3

newMethod · 0.85
newMethod · 0.85
test_basisFunction · 0.85

Calls 1

for_eachMethod · 0.80

Tested by 1

test_basisFunction · 0.68