(x: R.Tensor((2, 3), dtype="float32"), y: R.Tensor((2, 3), dtype="float32"))
| 36 | class Before: |
| 37 | @R.function |
| 38 | def foo(x: R.Tensor((2, 3), dtype="float32"), y: R.Tensor((2, 3), dtype="float32")): |
| 39 | with R.dataflow(): |
| 40 | lv0 = R.add(x, y) |
| 41 | lv1 = R.add(x, y) |
| 42 | gv = R.multiply(lv0, lv1) |
| 43 | R.output(gv) |
| 44 | return gv |
| 45 | |
| 46 | @I.ir_module(s_tir=True) |
| 47 | class Expected: |
nothing calls this directly
no test coverage detected