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

Function test_if

tests/python/relax/test_expr_functor.py:440–446  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

438
439
440def test_if():
441 if_node = relax.If(x, x, x)
442 basic_check(
443 if_node,
444 "\n".join(["If", "\tVar", "\tSeqExpr", "\t\tVar", "\tSeqExpr", "\t\tVar"]),
445 "\n".join(["Var", "Var", "SeqExpr", "Var", "SeqExpr", "If"]),
446 )
447
448
449def test_tuple_getitem():

Callers

nothing calls this directly

Calls 2

basic_checkFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…