(x: R.Tensor((32, 32), "float32"), w: R.Tensor((32, 32), "float32"))
| 78 | |
| 79 | @R.function |
| 80 | def main(x: R.Tensor((32, 32), "float32"), w: R.Tensor((32, 32), "float32")) -> R.Tensor: |
| 81 | cls = InputModule |
| 82 | with R.dataflow(): |
| 83 | lv0 = R.call_tir(cls.tir_matmul, (x, w), R.Tensor((32, 32), dtype="float32")) |
| 84 | lv1 = R.call_tir(cls.tir_relu, (lv0), R.Tensor((32, 32), dtype="float32")) |
| 85 | R.output(lv1) |
| 86 | return lv1 |
| 87 | |
| 88 | |
| 89 | # TODO(@sunggg): determine how to pass MS database object across different passes. |
no test coverage detected