| 759 | |
| 760 | @R.function(private=True) |
| 761 | def fused_function(x: R.Tensor([16, 32], "float32")) -> R.Tensor([16, 32], dtype="float32"): |
| 762 | R.func_attr({"Primitive": True}) |
| 763 | cls = Before |
| 764 | with R.dataflow(): |
| 765 | y = R.call_tir(cls.dynamic_tir_kernel, [x], out_sinfo=R.Tensor([16, 32], "float32")) |
| 766 | z = R.call_tir(cls.dynamic_tir_kernel, [y], out_sinfo=R.Tensor([16, 32], "float32")) |
| 767 | R.output(z) |
| 768 | return z |
| 769 | |
| 770 | @R.function |
| 771 | def main(x: R.Tensor([16, 32], "float32")) -> R.Tensor([16, 32], dtype="float32"): |