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

Method get

imperative/python/src/grad.cpp:139–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

137}
138
139GradKeyWrapper* GradKeyWrapper::get(std::shared_ptr<GradKey> key) {
140 return grad_key_map.at(key);
141}
142
143GradKeyWrapper::~GradKeyWrapper() {}
144

Callers 15

setup.pyFile · 0.45
get_paramFunction · 0.45
_assert_q_emptyFunction · 0.45
_assert_q_valFunction · 0.45
test_custom_op.pyFile · 0.45
test_trace_profilerFunction · 0.45
def_rendezvousFunction · 0.45

Calls 1

atMethod · 0.45

Tested by 7

_assert_q_emptyFunction · 0.36
_assert_q_valFunction · 0.36
test_trace_profilerFunction · 0.36