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

Function test_simple_call_packed

tests/python/relax/test_dataflow_pattern.py:332–335  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330
331
332def test_simple_call_packed():
333 expr = simple_call_packed.body.blocks[0].bindings[0].value
334 assert is_call_packed("test.vm.mul").match(expr)
335 assert is_call_packed("test.vm.mul", [is_var("x"), is_var("w")]).match(expr)
336
337
338## Graph-wise Matching

Callers

nothing calls this directly

Calls 3

is_call_packedFunction · 0.85
is_varFunction · 0.85
matchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…