SciML / ADTypes.jl

Repository for automatic differentiation backend types
https://sciml.github.io/ADTypes.jl/
MIT License
36 stars 11 forks source link

Add AutoDiffractor #27

Closed gdalle closed 4 months ago

gdalle commented 4 months ago

Is your feature request related to a problem? Please describe.

Diffractor.jl is now a usable AD library in forward mode, but it is not part of ADTypes.jl

Describe the solution you’d like

A new struct called AutoDiffractor.

Describe alternatives you’ve considered

We can also base it on ChainRules.jl with AutoChainRules(DiffractorRuleConfig())

Additional context

@oxinabox what information or parameters would you put in an AutoDiffractor struct? Examples:

oxinabox commented 4 months ago

I don't think we need any struct fields right now. There is some stuff coming that might need type-parameters, but right now it is basically configuration free.