ADTypes.jl
Documentation for ADTypes.jl.
Public
ADTypes.ADTypes
— ModuleADTypes.jl
ADTypes.jl is a common system for implementing multi-valued logic for choosing which automatic differentiation library to use.
ADTypes.AutoChainRules
— TypeAutoChainRules{RC}
Chooses any AD library based on ChainRulesCore.jl, given an appropriate RuleConfig
object.
Fields
ruleconfig::RC
ADTypes.AutoDiffractor
— TypeAutoDiffractor
Chooses Diffractor.jl.
ADTypes.AutoEnzyme
— TypeADTypes.AutoFiniteDiff
— TypeAutoFiniteDiff{T1,T2,T3}
Chooses FiniteDiff.jl.
Fields
fdtype::T1 = Val(:forward)
fdjtype::T2 = fdtype
fdhtype::T3 = Val(:hcentral)
ADTypes.AutoFiniteDifferences
— TypeADTypes.AutoForwardDiff
— TypeADTypes.AutoForwardDiff
— MethodAutoForwardDiff(; chunksize = nothing, tag = nothing)
Constructor.
ADTypes.AutoModelingToolkit
— TypeAutoModelingToolkit
Chooses ModelingToolkit.jl.
Fields
obj_sparse::Bool = false
cons_sparse::Bool = false
ADTypes.AutoPolyesterForwardDiff
— TypeAutoPolyesterForwardDiff{chunksize}
Chooses PolyesterForwardDiff.jl.
ADTypes.AutoPolyesterForwardDiff
— MethodAutoPolyesterForwardDiff(; chunksize = nothing)
Constructor.
ADTypes.AutoReverseDiff
— TypeADTypes.AutoSparseFiniteDiff
— TypeAutoSparseFiniteDiff
Chooses FiniteDiff.jl while exploiting sparsity.
ADTypes.AutoSparseForwardDiff
— TypeADTypes.AutoSparseForwardDiff
— MethodAutoSparseForwardDiff(; chunksize = nothing, tag = nothing)
Constructor.
ADTypes.AutoSparsePolyesterForwardDiff
— TypeAutoSparsePolyesterForwardDiff{chunksize}
Chooses PolyesterForwardDiff.jl while exploiting sparsity.
ADTypes.AutoSparsePolyesterForwardDiff
— MethodAutoSparsePolyesterForwardDiff(; chunksize = nothing)
Constructor.
ADTypes.AutoSparseReverseDiff
— TypeADTypes.AutoSparseZygote
— TypeAutoSparseZygote
Chooses Zygote.jl while exploiting sparsity.
ADTypes.AutoTracker
— TypeAutoTracker
Chooses Tracker.jl.
ADTypes.AutoZygote
— TypeAutoZygote
Chooses Zygote.jl.
Internal
ADTypes.AbstractADType
— TypeBase type for AD choices.