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 52efd07 commit 9c1d897Copy full SHA for 9c1d897
pytensor/link/pytorch/dispatch/scalar.py
@@ -71,8 +71,7 @@ def scalar_loop(steps, *start_and_constants):
71
return torch.stack(carry), torch.tensor([done])
72
else:
73
74
- def scalar_loop(*args):
75
- steps, *start_and_constants = args
+ def scalar_loop(steps, *start_and_constants):
76
carry, constants = (
77
start_and_constants[:state_length],
78
start_and_constants[state_length:],
0 commit comments