You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Apparently pytensor.Out also has a borrow kwarg. When that's set the deepcopy is avoided, although now there's a funky ViewOp, probably for rewrite sake?
Description
It's the same with
mutable=True
which also meansborrow=True
. TheDeepCopyOp
shouldn't be introduced.In a more complex example, things work as expected:
We are mutating the first input because we were allowed.
The text was updated successfully, but these errors were encountered: