Skip to content

Commit

Permalink
Merge pull request #4563 from kmaehashi/fix-dead-link
Browse files Browse the repository at this point in the history
fix dead link to optimizer hooks
  • Loading branch information
okuta authored and kmaehashi committed Apr 4, 2018
1 parent 853dd5f commit 57b6bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ This change does not break the existing code; you can safely continue to use upd
Namespace Changes for Optimizer Hooks
-------------------------------------

:doc:`reference/optimizer_hooks` are moved from ``chainer.optimizer.*`` to ``chainer.optimizer_hooks.*``.
:doc:`Optimizer hook functions <reference/optimizers>` are moved from ``chainer.optimizer.*`` to ``chainer.optimizer_hooks.*``.
For example, ``chainer.optimizer.WeightDecay`` is now located :class:`chainer.optimizer_hooks.WeightDecay`.

If the existing code is using hooks directly under ``chainer.optimizer``, ``DeprecationWarning`` will be shown.
Expand Down

0 comments on commit 57b6bf1

Please sign in to comment.