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

Method value_id

imperative/python/src/tensor.cpp:752–754  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

750}
751
752PyObject* TensorWrapper::value_id() {
753 return py::cast(m_tensor->value_id()).release().ptr();
754}
755
756PyObject* TensorWrapper::_var() {
757 TypedValueRef<NodeValue> value =

Callers

nothing calls this directly

Calls 3

castFunction · 0.85
ptrMethod · 0.45
releaseMethod · 0.45

Tested by

no test coverage detected