Skip to content

Commit

Permalink
Merge pull request #44 from darsnack/optimiser-adam-deprecations
Browse files Browse the repository at this point in the history
Update optimiser names with deprecations
  • Loading branch information
darsnack authored Feb 17, 2023
2 parents c722a40 + fd9ab6c commit 715b92a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ParameterSchedulers"
uuid = "d7d3b36b-41b8-4d0d-a2bf-768c6151755e"
authors = ["Kyle Daruwalla"]
version = "0.3.4"
version = "0.3.5"

[deps]
Flux = "587475ba-b771-5e3f-ad9e-33799f191a9c"
Expand Down
4 changes: 2 additions & 2 deletions src/ParameterSchedulers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@ function Flux.Optimise.apply!(opt::Scheduler, x, Δ)
end

for Opt in (Descent, Momentum, Nesterov, RMSProp,
ADAM, RADAM, AdaMax, OADAM, ADAGrad,
ADADelta, AMSGrad, NADAM, AdaBelief)
Adam, RAdam, AdaMax, OAdam, AdaGrad,
AdaDelta, AMSGrad, NAdam, AdaBelief)
@eval begin
Scheduler(schedule, opt::$Opt; update_func = (o, s) -> (o.eta = s)) =
Scheduler(schedule, opt, update_func)
Expand Down

2 comments on commit 715b92a

@darsnack
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/77964

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.3.5 -m "<description of version>" 715b92a067a0faf31afe566fa84066b4771f3af8
git push origin v0.3.5

Please sign in to comment.