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

Function _check_call

tests/python/relax/test_op_misc.py:83–88  ·  view source on GitHub ↗
(expr, op_name: str)

Source from the content-addressed store, hash-verified

81 )
82
83 def _check_call(expr, op_name: str):
84 assert isinstance(expr, rx.Call)
85 if not op_name.startswith("relax."):
86 op_name = "relax." + op_name
87 op = tvm.ir.Op.get(op_name)
88 assert expr.op == op
89
90 # Comparison operators
91 _check_call(x > y, "greater")

Callers 1

test_implicit_opFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…