Skip to content

Commit 8c8c622

Browse files
comment
1 parent f91a4dd commit 8c8c622

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/deprecations.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ function update!(opt::Optimise.AbstractOptimiser, model, grad)
9898
end
9999

100100
# TODO this friendly error should go in Optimisers.jl.
101+
# remove after https://github.com/FluxML/Optimisers.jl/pull/181
101102
function update!(opt::Optimisers.AbstractRule, model, grad)
102103
error("""Invalid input to `update!`.
103104
`update!(state, model, grad)` needs `state = Flux.setup(opt, model)`.

0 commit comments

Comments
 (0)