Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ _watch
Method
_watch
imperative/python/src/tensor.cpp:667–669 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
665
}
666
667
void TensorWrapper::_watch() {
668
m_tensor->data().watch();
669
}
670
671
PyObject* TensorWrapper::shape() {
672
auto shape = m_tensor->shape();
Callers
nothing calls this directly
Calls
2
watch
Method · 0.80
data
Method · 0.45
Tested by
no test coverage detected