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 813a669
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/source/api/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,16 +202,18 @@ Hook
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 813a669

Please # to comment.