(x: R.Tensor((), "int32"))
| 199 | |
| 200 | @R.function |
| 201 | def use_invoke_pure_closure(x: R.Tensor((), "int32")) -> R.Tensor((), "int32"): |
| 202 | R.func_attr({"relax.force_pure": True}) |
| 203 | closure = R.make_closure(Expected.base, ()) |
| 204 | res = R.invoke_closure(closure, (x,), sinfo_args=R.Tensor((), "int32")) |
| 205 | return res |
| 206 | |
| 207 | @R.function(pure=False) |
| 208 | def impure_func() -> R.Object: |
nothing calls this directly
no test coverage detected