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

Function test_let

tests/python/tirx/transform/test_stmt_functor.py:708–725  ·  view source on GitHub ↗

Test let statement (Bind + SeqStmt).

()

Source from the content-addressed store, hash-verified

706
707
708def test_let():
709 """Test let statement (Bind + SeqStmt)."""
710 let_stmt = create_test_statements()["let"]
711 basic_check(
712 let_stmt,
713 "\n".join(
714 [
715 "SeqStmt",
716 "\tBind",
717 "\t\tIntImm",
718 "\tEvaluate",
719 "\t\tAdd",
720 "\t\t\tVar",
721 "\t\t\tIntImm",
722 ]
723 ),
724 "\n".join(["IntImm", "Bind", "Var", "IntImm", "Add", "Evaluate", "SeqStmt"]),
725 )
726
727
728def test_for():

Callers

nothing calls this directly

Calls 3

create_test_statementsFunction · 0.70
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…