MCPcopy 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
460Format Tensor::format(void) const {
461 auto builtin = TensorImplRef(m_tensor).format();
462 return Format(&builtin);
463}
464
465Device Tensor::device(void) const {
466 auto builtin = TensorImplRef(m_tensor).comp_node();

Callers 15

_write_oprsMethod · 0.45
_write_elemwise_modesMethod · 0.45
_write_defMethod · 0.45
_write_midoutMethod · 0.45
mainFunction · 0.45
copyMethod · 0.45
cmdMethod · 0.45
mainFunction · 0.45
process_fileFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

FormatClass · 0.50

Tested by 6

copyMethod · 0.36
cmdMethod · 0.36
mainFunction · 0.36
test_versionFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36