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

Method value_id

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

Source from the content-addressed store, hash-verified

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(); }
84 inline void set_name(std::string name) {
85 m_name = name;
86 if (!name.empty()) {

Callers

nothing calls this directly

Calls 1

idMethod · 0.45

Tested by

no test coverage detected