From 7de5db7946ba5a1ab9914bd60cb66836e177e743 Mon Sep 17 00:00:00 2001 From: Guillaume Dalle <22795598+gdalle@users.noreply.github.com> Date: Tue, 15 Nov 2022 12:25:02 -0500 Subject: [PATCH] Add link to ForwardDiffChainRules.jl Solves #579 --- docs/src/user/limitations.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/src/user/limitations.md b/docs/src/user/limitations.md index dc4365e2..1392ae43 100644 --- a/docs/src/user/limitations.md +++ b/docs/src/user/limitations.md @@ -12,3 +12,6 @@ function being differentiated): - **The target function must be written generically enough to accept numbers of type `T<:Real` as input (or arrays of these numbers).** The function doesn't require a specific type signature, as long as the type signature is generic enough to avoid breaking this rule. This also means that any storage assigned used within the function must be generic as well (see [this comment](https://github.com/JuliaDiff/ForwardDiff.jl/issues/136#issuecomment-237941790) for an example). - **The types of array inputs must be subtypes of** `AbstractArray` **.** Non-`AbstractArray` array-like types are not officially supported. + +ForwardDiff is not natively compatible with rules defined by the [ChainRules.jl](https://github.com/JuliaDiff/ChainRules.jl) ecosystem. +You can use [ForwardDiffChainRules.jl](https://github.com/ThummeTo/ForwardDiffChainRules.jl) to bridge this gap.