Skip to content

Commit

Permalink
Update ProximalAlgorithms.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella authored Jan 6, 2024
1 parent b402024 commit e79ec2b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/ProximalAlgorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ using ProximalCore: prox, prox!
const RealOrComplex{R} = Union{R,Complex{R}}
const Maybe{T} = Union{T,Nothing}

"""
Autodifferentiable(f, backend)
Construct a function from `f` to be auto-differentiated via `backend`.
The backend can be any from AbstractDifferentiation.jl.
"""
struct AutoDifferentiable{F, B}
f::F
backend::B
Expand Down

0 comments on commit e79ec2b

Please sign in to comment.