diff --git a/DifferentiationInterface/Project.toml b/DifferentiationInterface/Project.toml index facb13ac4..ff153ee73 100644 --- a/DifferentiationInterface/Project.toml +++ b/DifferentiationInterface/Project.toml @@ -6,7 +6,6 @@ version = "0.6.0" [deps] ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b" Compat = "34da2185-b29b-5c13-b0c7-acf172513d20" -DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae" FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b" LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e" PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930" @@ -50,7 +49,6 @@ ADTypes = "1.7.0" ChainRulesCore = "1.23.0" Compat = "3.46,4.2" Diffractor = "=0.2.6" -DocStringExtensions = "0.8,0.9" Enzyme = "0.12.35" FastDifferentiation = "0.3.9, 0.4" FillArrays = "1.7.0" diff --git a/DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt/DifferentiationInterfaceEnzymeExt.jl b/DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt/DifferentiationInterfaceEnzymeExt.jl index 46b0d566b..ae3af602a 100644 --- a/DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt/DifferentiationInterfaceEnzymeExt.jl +++ b/DifferentiationInterface/ext/DifferentiationInterfaceEnzymeExt/DifferentiationInterfaceEnzymeExt.jl @@ -18,7 +18,6 @@ using DifferentiationInterface: Tangents, SingleTangent, pick_batchsize -using DocStringExtensions using Enzyme: Active, Annotation, diff --git a/DifferentiationInterface/ext/DifferentiationInterfacePolyesterForwardDiffExt/DifferentiationInterfacePolyesterForwardDiffExt.jl b/DifferentiationInterface/ext/DifferentiationInterfacePolyesterForwardDiffExt/DifferentiationInterfacePolyesterForwardDiffExt.jl index 2cc5d6e43..5e3767527 100644 --- a/DifferentiationInterface/ext/DifferentiationInterfacePolyesterForwardDiffExt/DifferentiationInterfacePolyesterForwardDiffExt.jl +++ b/DifferentiationInterface/ext/DifferentiationInterfacePolyesterForwardDiffExt/DifferentiationInterfacePolyesterForwardDiffExt.jl @@ -14,7 +14,6 @@ using DifferentiationInterface: PushforwardExtras, SecondDerivativeExtras, Tangents -using DocStringExtensions using LinearAlgebra: mul! using PolyesterForwardDiff: threaded_gradient!, threaded_jacobian! using PolyesterForwardDiff.ForwardDiff: Chunk diff --git a/DifferentiationInterface/ext/DifferentiationInterfaceReverseDiffExt/DifferentiationInterfaceReverseDiffExt.jl b/DifferentiationInterface/ext/DifferentiationInterfaceReverseDiffExt/DifferentiationInterfaceReverseDiffExt.jl index af01c9f0e..9e5476418 100644 --- a/DifferentiationInterface/ext/DifferentiationInterfaceReverseDiffExt/DifferentiationInterfaceReverseDiffExt.jl +++ b/DifferentiationInterface/ext/DifferentiationInterfaceReverseDiffExt/DifferentiationInterfaceReverseDiffExt.jl @@ -11,7 +11,6 @@ using DifferentiationInterface: Tangents using FillArrays: OneElement using ReverseDiff.DiffResults: DiffResults, DiffResult, GradientResult, MutableDiffResult -using DocStringExtensions using LinearAlgebra: dot, mul! using ReverseDiff: CompiledGradient, diff --git a/DifferentiationInterface/ext/DifferentiationInterfaceZygoteExt/DifferentiationInterfaceZygoteExt.jl b/DifferentiationInterface/ext/DifferentiationInterfaceZygoteExt/DifferentiationInterfaceZygoteExt.jl index c9a3e6718..395a548b7 100644 --- a/DifferentiationInterface/ext/DifferentiationInterfaceZygoteExt/DifferentiationInterfaceZygoteExt.jl +++ b/DifferentiationInterface/ext/DifferentiationInterfaceZygoteExt/DifferentiationInterfaceZygoteExt.jl @@ -10,7 +10,6 @@ using DifferentiationInterface: NoPullbackExtras, PullbackExtras, Tangents -using DocStringExtensions using ForwardDiff: ForwardDiff using Zygote: ZygoteRuleConfig, gradient, hessian, jacobian, pullback, withgradient, withjacobian diff --git a/DifferentiationInterface/src/DifferentiationInterface.jl b/DifferentiationInterface/src/DifferentiationInterface.jl index 70659cec5..58e728340 100644 --- a/DifferentiationInterface/src/DifferentiationInterface.jl +++ b/DifferentiationInterface/src/DifferentiationInterface.jl @@ -2,10 +2,6 @@ DifferentiationInterface An interface to various automatic differentiation backends in Julia. - -# Exports - -$(EXPORTS) """ module DifferentiationInterface @@ -34,7 +30,6 @@ using ADTypes: AutoTracker, AutoZygote using Compat -using DocStringExtensions using FillArrays: OneElement using LinearAlgebra: Symmetric, Transpose, dot, parent, transpose using PackageExtensionCompat: @require_extensions diff --git a/DifferentiationInterface/src/second_order/second_order.jl b/DifferentiationInterface/src/second_order/second_order.jl index 90702d65e..07f7f84b1 100644 --- a/DifferentiationInterface/src/second_order/second_order.jl +++ b/DifferentiationInterface/src/second_order/second_order.jl @@ -12,12 +12,11 @@ Combination of two backends for second-order differentiation. # Fields -$(TYPEDFIELDS) +- `outer::AbstractADType`: backend for the outer differentiation +- `inner::AbstractADType`: backend for the inner differentiation """ struct SecondOrder{ADO<:AbstractADType,ADI<:AbstractADType} <: AbstractADType - "backend for the outer differentiation" outer::ADO - "backend for the inner differentiation" inner::ADI end