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 a future PR, we could add AbstractConfig constructors like GradientConfig(x, Chunk{N}, NaNSafe{true}). The generated dual numbers would then contain partials of type Partials{N,T,true}, which would dispatch to the NaN-safe versions of methods. Downstream modules could then support passing that option through their APIs (or simply setting it to a reasonable default for themselves internally).
The text was updated successfully, but these errors were encountered:
Is it possible we could use Preferences.jl to enable/disable NaN-safe mode now? See JuliaLang/Pkg.jl#458. I think that would effectively solve this long-standing issue.
Follow-up issue to #179. From my comment there:
The text was updated successfully, but these errors were encountered: