MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / format

Method format

src/core/include/megbrain/graph/var_node.h:332–332  ·  view source on GitHub ↗

get tensor format in this var

Source from the content-addressed store, hash-verified

330
331 //! get tensor format in this var
332 TensorFormat format() const { return m_dev_tensor.format(); }
333
334 //! set dtype; this function can only be called once
335 MGE_WIN_DECLSPEC_FUC VarNode& dtype(DType dtype);

Callers

nothing calls this directly

Calls 1

formatMethod · 0.45

Tested by

no test coverage detected