From 18a58efa2ab4998f579a97b9df95993a1f8fa5da Mon Sep 17 00:00:00 2001 From: Andrew Radcliffe Date: Sun, 5 May 2024 13:17:17 -0700 Subject: [PATCH] Remove ChainRules definitions --- ext/LogExpFunctionsChainRulesCoreExt.jl | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ext/LogExpFunctionsChainRulesCoreExt.jl b/ext/LogExpFunctionsChainRulesCoreExt.jl index 6da009d1..397603ac 100644 --- a/ext/LogExpFunctionsChainRulesCoreExt.jl +++ b/ext/LogExpFunctionsChainRulesCoreExt.jl @@ -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