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

Method data

imperative/python/src/tensor.h:80–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79 }
80 inline ValueRef data() const { return m_data.unwrap(); }
81 bool is_scalar() { return data().is_scalar(); }
82 inline std::string name() { return m_name; }
83 inline size_t value_id() { return m_data.id(); }

Callers 15

py_applyFunction · 0.45
TensorWrapperMethod · 0.45
module_trace_infoMethod · 0.45
set_module_trace_infoMethod · 0.45
_detailMethod · 0.45
_watchMethod · 0.45
resetMethod · 0.45
detachMethod · 0.45
_dev_tensorMethod · 0.45
_dropMethod · 0.45
_varMethod · 0.45
_graphMethod · 0.45

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected