()
| 436 | |
| 437 | |
| 438 | def test_diamond_counter_oub(): |
| 439 | with PatternContext() as ctx: |
| 440 | n0 = is_call_dps_packed("extern_matmul") |
| 441 | n1 = is_call_dps_packed("extern_relu") |
| 442 | n2 = is_call_dps_packed("extern_sigmoid") |
| 443 | n3 = is_call_dps_packed("extern_add") |
| 444 | |
| 445 | n0 >> n1 |
| 446 | n0 >> n2 |
| 447 | n1 >> n3 |
| 448 | n2 >> n3 |
| 449 | |
| 450 | dfb = Diamond["main"].body.blocks[0] |
| 451 | assert not ctx.match_dfb(dfb) |
| 452 | |
| 453 | |
| 454 | @tvm.script.ir_module |
nothing calls this directly
no test coverage detected
searching dependent graphs…