(_, matchings)
| 890 | pattern = is_op("relax.add")(x, x) |
| 891 | |
| 892 | def rewriter(_, matchings): |
| 893 | return R.multiply(matchings[x], R.const(2, "float32")) |
| 894 | |
| 895 | rewritten = rewrite_call(pattern, rewriter, main) |
| 896 | tvm.ir.assert_structural_equal(rewritten, expected1.with_attr("global_symbol", "main")) |
no test coverage detected
searching dependent graphs…