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 think this should probably be avoided, by adding methods to (::ProjectTo)(::TrackedArray) which bypass this behaviour. Since ReverseDiff already depends on CRC, no extra deps are required.
The text was updated successfully, but these errors were encountered:
When using ReverseDiff over Zygote, its tracked arrays will often be turned into arrays of TrackedReal:
The cause of this is that ChainRulesCore's projection mechanism looks at the eltype, and decides that it needs correcting:
I think this should probably be avoided, by adding methods to
(::ProjectTo)(::TrackedArray)
which bypass this behaviour. Since ReverseDiff already depends on CRC, no extra deps are required.The text was updated successfully, but these errors were encountered: