Skip to content

Commit 0f5c90a

Browse files
committed
docs: update docstrings
1 parent c075533 commit 0f5c90a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torchopt/_src/alias.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ def adamw(
273273
If :data:`True` use our implemented fused operator.
274274
275275
Returns:
276-
the corresponding `GradientTransformation`.
276+
The corresponding :class:`GradientTransformation` instance.
277277
"""
278278
b1, b2 = betas
279279
# pylint: disable=unneeded-not
@@ -440,7 +440,7 @@ def sgd(
440440
Maximize the params based on the objective, instead of minimizing.
441441
442442
Returns:
443-
A :class:`GradientTransformation` instance.
443+
The corresponding :class:`GradientTransformation` instance.
444444
"""
445445
# pylint: disable=unneeded-not
446446
if not (callable(lr) or 0.0 <= lr):

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy