We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5027b1 commit 255d2edCopy full SHA for 255d2ed
pytorch_optimizer/sam.py
@@ -57,9 +57,9 @@ def __init__(
57
adaptive: bool = False,
58
**kwargs,
59
):
60
- """
+ """SAM
61
:param params: PARAMETERS. iterable of parameters to optimize or dicts defining parameter groups
62
- :param base_optimizer: Optimizer.
+ :param base_optimizer: Optimizer. base optimizer
63
:param rho: float. size of the neighborhood for computing the max loss
64
:param adaptive: bool. element-wise Adaptive SAM
65
:param kwargs: Dict. parameters for optimizer.
0 commit comments