Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
752
PyObject* TensorWrapper::value_id() {
753
return py::cast(m_tensor->value_id()).release().ptr();
754
}
755
756
PyObject* TensorWrapper::_var() {
757
TypedValueRef<NodeValue> value =
Callers
nothing calls this directly
Calls
3
cast
Function · 0.85
ptr
Method · 0.45
release
Method · 0.45
Tested by
no test coverage detected