Skip to content

Commit

Permalink
Remove ChainRules definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjradcliffe committed May 5, 2024
1 parent 46c0e60 commit 18a58ef
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ext/LogExpFunctionsChainRulesCoreExt.jl
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,4 @@ end
ChainRulesCore.@scalar_rule(cloglog(x), (-inv((1 - x) * log1p(-x)),))
ChainRulesCore.@scalar_rule(cexpexp(x), (-xexpx(-exp(x)),))

ChainRulesCore.@scalar_rule(loglogistic(x::Real), (logistic(-x),))
ChainRulesCore.@scalar_rule(log1mlogistic(x::Real), (-logistic(x),))
ChainRulesCore.@scalar_rule(logitexp(x::Real), (inv(1 - exp(x)),))
ChainRulesCore.@scalar_rule(logit1mexp(x::Real), (-inv(1 - exp(x)),))

end # module

0 comments on commit 18a58ef

Please sign in to comment.