MCPcopy Create free account
hub / github.com/apache/tvm / compose_layout_size

Function compose_layout_size

tests/python/tirx/test_layout.py:998–1003  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

996 swizzle_layout_size()
997
998 def compose_layout_size():
999 layout = ComposeLayout(
1000 SwizzleLayout(per_element=3, swizzle_len=3, atom_len=3),
1001 TileLayout(S[(8, 64) : (64, 1)]),
1002 )
1003 assert layout.size() == 512
1004
1005 compose_layout_size()
1006

Callers 1

test_size_spanFunction · 0.85

Calls 4

ComposeLayoutClass · 0.90
SwizzleLayoutClass · 0.90
TileLayoutClass · 0.90
sizeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…