(x: R.Tensor((2,), "float32"))
| 459 | |
| 460 | @R.function |
| 461 | def multiple_calls(x: R.Tensor((2,), "float32")): |
| 462 | y = R.call_py_func(R.str("torch_relu"), (x,), out_sinfo=R.Tensor((2,), "float32")) |
| 463 | z = R.call_py_func(R.str("torch_sigmoid"), (y,), out_sinfo=R.Tensor((2,), "float32")) |
| 464 | return z |
| 465 | |
| 466 | np.random.seed(0) |
| 467 | x_data = np.array([-1.0, 0.0, 1.0], dtype=np.float32) |
nothing calls this directly
no test coverage detected