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

Method offset

dnn/test/common/index.h:24–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 /**
26 * Add a universal offset to all return values to make the minimal
27 * offset zero.

Callers 5

copy_general_interiorFunction · 0.45
exec_getFunction · 0.45
exec_setFunction · 0.45
fuse_mul_add3Function · 0.45
fuse_mul_add4Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected