Skip to content

Commit

Permalink
docs: update api references
Browse files Browse the repository at this point in the history
  • Loading branch information
XuehaiPan committed Nov 19, 2022
1 parent c9c17a9 commit 15d00d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/source/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -187,31 +187,31 @@ Optimizer Hooks
register_hook
zero_nan_hook
nan_to_num_hook
nan_to_num

Hook
~~~~

.. autofunction:: register_hook
.. autofunction:: zero_nan_hook
.. autofunction:: nan_to_num_hook
.. autofunction:: nan_to_num

------

Gradient Transformation
=======================

.. currentmodule:: torchopt.clip
.. currentmodule:: torchopt

.. autosummary::

clip_grad_norm
nan_to_num

Transforms
~~~~~~~~~~

.. autofunction:: clip_grad_norm
.. autofunction:: nan_to_num

Optimizer Schedules
===================
Expand Down

0 comments on commit 15d00d2

Please # to comment.