Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ value_fetched
Method
value_fetched
imperative/src/impl/physical_tensor.cpp:725–728 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
723
}
724
725
bool Tensor::value_fetched() {
726
MGB_LOCK_GUARD(m_value_mtx);
727
return m_value.layout().ndim != 0;
728
}
729
730
const HostTensorND& Tensor::get_value() {
731
fetch_value();
Callers
1
wait_tensor
Method · 0.80
Calls
1
layout
Method · 0.45
Tested by
no test coverage detected