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

Function test_modular_set

tests/python/arith/test_arith_intset.py:387–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

385
386
387def test_modular_set():
388 ck = IntSetChecker()
389 x = tvm.tirx.Var("x", "int32")
390 y = tvm.tirx.Var("y", "int32")
391 expr = (x * 2048 + y * 16) % 7168
392 ck.verify(
393 expr, {x: tvm.arith.IntervalSet(0, 128), y: tvm.arith.IntervalSet(0, 3584)}, (0, 7152)
394 )
395
396
397def test_relax_deep_variable_dependency_chain():

Callers

nothing calls this directly

Calls 2

verifyMethod · 0.95
IntSetCheckerClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…