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

Function tile_layout_span

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

Source from the content-addressed store, hash-verified

1005 compose_layout_size()
1006
1007 def tile_layout_span():
1008 layout = TileLayout(S[(8, 8) : (8, 1)])
1009 assert layout.span() == 64
1010 layout = TileLayout(S[(8, 6) : (8, 1)])
1011 assert layout.span() == 62
1012 layout = TileLayout(S[(8, 1, 4, 2) : (4 @ laneid, 2, 1 @ laneid, 1)])
1013 assert layout.span() == 2
1014
1015 tile_layout_span()
1016

Callers 1

test_size_spanFunction · 0.85

Calls 2

TileLayoutClass · 0.90
spanMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…