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

Method comp_node

imperative/src/impl/transformations/trace.cpp:691–693  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689}
690
691CompNodeValue::ref_t CompiledTransformation::TracedValue::comp_node() const {
692 return m_var->device;
693}
694
695DeviceValue::ref_t CompiledTransformation::TracedValue::data() const {
696 trace_assert(m_accessor->data_getter, "data unreadable");

Callers 2

compileMethod · 0.45
apply_get_attrMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected