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
To avoid excessive allocations in Hessian tracing, we can make a new set type holding a reference to a shared set, such that every intermediate scalar quantity shares the same pattern (as opposed to having individual patterns).
This would require:
Overloading trace_input so that each index x[i] points to the same shared set
Handling the empty set intelligently to avoid re-creating shared sets in operations like similar and rand
To avoid excessive allocations in Hessian tracing, we can make a new set type holding a reference to a shared set, such that every intermediate scalar quantity shares the same pattern (as opposed to having individual patterns).
This would require:
trace_input
so that each indexx[i]
points to the same shared setsimilar
andrand
Note that such shared objects would also be useful to implement tape-based recursive sets
The text was updated successfully, but these errors were encountered: