We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d79d23 commit e4c2b9dCopy full SHA for e4c2b9d
pytensor/link/pytorch/dispatch/scalar.py
@@ -59,8 +59,7 @@ def scalar_loop(steps, *start_and_constants):
59
return torch.stack(carry), torch.tensor([done])
60
else:
61
62
- def scalar_loop(*args):
63
- steps, *start_and_constants = args
+ def scalar_loop(steps, *start_and_constants):
64
carry, constants = (
65
start_and_constants[:state_length],
66
start_and_constants[state_length:],
0 commit comments