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 2844bc4 commit 39ff3deCopy full SHA for 39ff3de
pytensor/link/pytorch/dispatch/scalar.py
@@ -83,8 +83,7 @@ def scalar_loop(steps, *start_and_constants):
83
return torch.stack(carry), torch.tensor([done])
84
else:
85
86
- def scalar_loop(*args):
87
- steps, *start_and_constants = args
+ def scalar_loop(steps, *start_and_constants):
88
carry, constants = (
89
start_and_constants[:state_length],
90
start_and_constants[state_length:],
0 commit comments