Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ empty
Method
empty
imperative/src/impl/physical_tensor.cpp:701–703 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
699
}
700
701
bool Tensor::empty() {
702
return !m_blob->size();
703
}
704
705
DnnTensorND Tensor::dnn_tensor() {
706
mgb_assert(m_blob,
"uninitialized tensor."
);
Callers
15
InputPlaceholder
Function · 0.45
make
Function · 0.45
get_static_infer_value
Function · 0.45
do_infer
Method · 0.45
connect
Method · 0.45
ProfilerPlugin
Method · 0.45
init_seq
Method · 0.45
make_backward_graph_from_forward
Function · 0.45
make_from_computing_graph
Function · 0.45
device_wait
Method · 0.45
Tensor
Method · 0.45
fetch_value
Method · 0.45
Calls
1
size
Method · 0.45
Tested by
no test coverage detected