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
I want to test exact equality, though, not approximate.
And I want equality on tuples to work.
(isapprox isn't defined for tuples)
The hash complication is trivially resolved.
I hope there are not major invalidation issues, especially if we restrict it to Number. (or perhaps Union{Number,Array})
We did have to remove it from thunks, but that was unrestricted: #524
I feel like we can overload
==
for ZeroTangent()`to do something like
==(::ZeroTangent, a) = iszero(a)
would also need to overload
hash
since all things that are equal to zero in julia have the same hash, buit we can just call
hash(0, h)
this would be useful for testhing some of the stuff i am working on to not AD things that don't appear in this function.
The text was updated successfully, but these errors were encountered: