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

Method handle_id

imperative/src/impl/value.cpp:130–132  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130int ValueRef::handle_id() const {
131 return imperative::apply(GetId(), *this)[0].cast<IntegerValue>();
132}
133
134ValueRef ValueRef::make(ValueRef::storage_t storage) {
135 if (recording_values) {

Callers 1

record_varMethod · 0.80

Calls 2

GetIdClass · 0.85
applyFunction · 0.70

Tested by

no test coverage detected