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
This means that if you call ReducedFunctional.optimize_tape on one ReducedFunctional, it will not modify the tape of any other ReducedFunctional.
Potentially the API should change to the optimize_tape returns the new (optimized) tape, rather than modifying self.tape.
The text was updated successfully, but these errors were encountered:
JHopeCollins
changed the title
ReducedFunctional.optimize_tape should create replace self.tape with the optimized tape without modifying the original self.tape.ReducedFunctional.optimize_tape should replace self.tape with the optimized tape without modifying the original self.tape.
Oct 1, 2024
This means that if you call
ReducedFunctional.optimize_tape
on oneReducedFunctional
, it will not modify the tape of any otherReducedFunctional
.Potentially the API should change to the
optimize_tape
returns the new (optimized) tape, rather than modifyingself.tape
.The text was updated successfully, but these errors were encountered: