Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ dev_tensor
Method
dev_tensor
lite/src/mge/tensor_impl.h:91–91 ·
view source on GitHub ↗
get device tensor
Source
from the content-addressed store, hash-verified
89
90
//! get device tensor
91
std::shared_ptr<mgb::DeviceTensorND> dev_tensor() const { return m_dev_tensor; }
92
93
//! copy from mgb tensor
94
void copy_from_mge_tensor(const mgb::DeviceTensorND& dv);
Callers
2
TEST
Function · 0.45
output_tensor_copy_optimize
Method · 0.45
Calls
no outgoing calls
Tested by
1
TEST
Function · 0.36