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

Method raw_type

imperative/src/impl/value.cpp:109–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109std::string ValueRef::raw_type() const {
110 if (!m_storage) {
111 return "null";
112 }
113 return this->storage()->type().name();
114}
115
116const IType* ValueRef::type() const {
117 if (!m_storage) {

Callers 1

apply_releaseFunction · 0.45

Calls 3

storageMethod · 0.80
nameMethod · 0.45
typeMethod · 0.45

Tested by

no test coverage detected