(self)
| 297 | def test_while(self): |
| 298 | class M(torch.nn.Module): |
| 299 | def __init__(self) -> None: |
| 300 | super().__init__() |
| 301 | self.linear = torch.nn.Linear(2, 2) |
| 302 | self.dec = torch.nn.Buffer(torch.tensor(1)) |
| 303 | |
| 304 | def forward(self, iter, x): |
| 305 | def cond_fn(it, x): |