Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ data
Method
data
imperative/python/src/tensor.h:80–80 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
78
}
79
}
80
inline ValueRef data() const { return m_data.unwrap(); }
81
bool is_scalar() { return data().is_scalar(); }
82
inline std::string name() { return m_name; }
83
inline size_t value_id() { return m_data.id(); }
Callers
15
py_apply
Function · 0.45
TensorWrapper
Method · 0.45
module_trace_info
Method · 0.45
set_module_trace_info
Method · 0.45
_detail
Method · 0.45
_watch
Method · 0.45
reset
Method · 0.45
detach
Method · 0.45
_dev_tensor
Method · 0.45
_drop
Method · 0.45
_var
Method · 0.45
_graph
Method · 0.45
Calls
1
unwrap
Method · 0.45
Tested by
no test coverage detected