Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/MegEngine/MegEngine
/ format
Method
format
src/custom/impl/tensor.cpp:460–463 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
458
}
459
460
Format Tensor::format(void) const {
461
auto builtin = TensorImplRef(m_tensor).format();
462
return Format(&builtin);
463
}
464
465
Device Tensor::device(void) const {
466
auto builtin = TensorImplRef(m_tensor).comp_node();
Callers
15
extend_elemwise_mode_info
Method · 0.45
_write_oprs
Method · 0.45
_write_elemwise_modes
Method · 0.45
_write_def
Method · 0.45
_write_midout
Method · 0.45
main
Function · 0.45
copy
Method · 0.45
cmd
Method · 0.45
main
Function · 0.45
process_file
Function · 0.45
main
Function · 0.45
main
Function · 0.45
Calls
1
Format
Class · 0.50
Tested by
6
copy
Method · 0.36
cmd
Method · 0.36
main
Function · 0.36
test_version
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36