MCPcopy Index your code
hub / github.com/apache/tvm / test_buffer_region

Function test_buffer_region

tests/python/tvmscript/test_tvmscript_printer_tir.py:211–226  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209
210
211def test_buffer_region():
212 src = tirx.decl_buffer((128, 128), "float32", name="src")
213 obj = tirx.BufferRegion(
214 src,
215 [
216 Range(64, 128),
217 Range(64, 128),
218 ],
219 )
220 _assert_print(
221 obj,
222 """
223src = T.Buffer((128, 128))
224src[64:128, 64:128]
225""",
226 )
227
228
229def test_buffer_load():

Callers

nothing calls this directly

Calls 2

RangeClass · 0.90
_assert_printFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…