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
In NNlib.maxpool we encounter typemin to initialize the prospective maximum value. typemin is not implemented for ReverseDiff.TrackedReal
This definition seems to work (it allows for taking derivatives):
Base.typemin(tr::Type{<:T}) where{V, D, O, T<:ReverseDiff.TrackedReal{V, D, O}} =T(typemin(V))
In
NNlib.maxpool
we encountertypemin
to initialize the prospective maximum value.typemin
is not implemented forReverseDiff.TrackedReal
This definition seems to work (it allows for taking derivatives):
but I do not really know if that is sensible.
MWE for failure:
The text was updated successfully, but these errors were encountered: