MCPcopy Create free account
hub / github.com/MegEngine/MegCC / layout

Method layout

compiler/test/kernel/common/src/checker.cpp:22–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20
21 TensorShape array() const { return m_array; }
22 TensorLayout layout() const { return m_layout; }
23 size_t linear_index() const { return m_linear; }
24 ptrdiff_t offset() const { return m_offset; }
25 /**

Callers 6

runFunction · 0.80
dev_tensor_to_attrMethod · 0.80
on_oprMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected