Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ initialized
Method
initialized
src/opr/impl/io.cpp:379–379 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
377
void setup(std::shared_ptr<DeviceTensorND> val);
378
379
bool initialized() const { return m_dev->shape_valid(); }
380
381
//! value on comp node
382
const DeviceTensorND& dev() const { return *m_dev; }
Callers
2
ImmutableTensor::DevValueCache
Class · 0.45
ImmutableTensor
Method · 0.45
Calls
1
shape_valid
Method · 0.45
Tested by
no test coverage detected