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
The current behavior of value_and_pullback_function/value_and_pushforward_function is that it returns a function which when called with the co-tangents/tangents as input returns both the function value at x and the tangent/co-tangent. The delayed return of the value of the function is unnecessary.
The text was updated successfully, but these errors were encountered:
Kind of. Currently the function returned by value_and_pullback_function takes a single input (co-tangents) and returns the function value and the pulled back co-tangents. So the value is returned in a lazy fashion after the co-tangents are passed in which is odd.
The current behavior of
value_and_pullback_function
/value_and_pushforward_function
is that it returns a function which when called with the co-tangents/tangents as input returns both the function value atx
and the tangent/co-tangent. The delayed return of the value of the function is unnecessary.The text was updated successfully, but these errors were encountered: