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

Method to_string

imperative/src/impl/value.cpp:101–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99}
100
101std::string ValueRef::to_string() const {
102 if (!m_storage) {
103 return "<empty value>";
104 }
105 return ssprintf(
106 "(%zu:%zu) %s", id(), storage()->m_id, storage()->to_string().c_str());
107}
108
109std::string ValueRef::raw_type() const {
110 if (!m_storage) {

Callers 3

ValueRefList apply_debugFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected