-
Notifications
You must be signed in to change notification settings - Fork 36
Open
Description
This package defines rules for functions from LogExpFunctions, NaNMath, and SpecialFunctions packages, in addition to Base. Looking at https://github.com/JuliaDiff/DiffRules.jl/blob/master/src/rules.jl, their rules are pretty self-contained (*) and can easily be turned into package extensions to enable using DiffRules as a dependency in other lightweight packages.
Would you support and accept such a PR turning them into weakdeps?
(*) One exception: a SpecialFunctions function used in a NaNMath rule definition,
Line 276 in 8842177
| @define_diffrule NaNMath.lgamma(x) = :( SpecialFunctions.digamma($x) ) |
Metadata
Metadata
Assignees
Labels
No labels