| 1686 | |
| 1687 | @R.function |
| 1688 | def main(): |
| 1689 | cls = Before |
| 1690 | x = R.builtin.alloc_tensor(R.shape([16, 16]), dtype="float32", runtime_device_index=0) |
| 1691 | x1 = R.memory.view(x, [128], "float32", 0) |
| 1692 | x2 = R.memory.ensure_zero_offset(x1) |
| 1693 | y = R.builtin.alloc_tensor(R.shape([128]), dtype="float32", runtime_device_index=0) |
| 1694 | cls.tir_exp(x2, y) |
| 1695 | z = R.builtin.alloc_tensor(R.shape([128]), dtype="float32", runtime_device_index=0) |
| 1696 | cls.tir_exp(y, z) |
| 1697 | return z |
| 1698 | |
| 1699 | @I.ir_module |
| 1700 | class Expected: |