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

Method name

imperative/src/impl/value.cpp:65–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65TypedValueRef<StringValue> ValueRef::name() const {
66 return imperative::apply(GetName(), *this)[0].cast_ref<StringValue>();
67}
68
69bool ValueRef::is_scalar() const {
70 return imperative::apply(IsScalar(), *this)[0].cast<BoolValue>();

Callers 6

to_stringMethod · 0.45
raw_typeMethod · 0.45
to_stringMethod · 0.45
ProfilerPluginMethod · 0.45
apply_releaseFunction · 0.45

Calls 2

GetNameClass · 0.85
applyFunction · 0.70

Tested by

no test coverage detected