mirror of
https://github.com/ml-explore/mlx.git
synced 2025-11-05 11:28:12 +08:00
Fix AdamW weight_decay default value in docstring (#2557)
This commit is contained in:
@@ -556,7 +556,7 @@ class AdamW(Adam):
|
|||||||
eps (float, optional): The term :math:`\epsilon` added to the
|
eps (float, optional): The term :math:`\epsilon` added to the
|
||||||
denominator to improve numerical stability. Default: ``1e-8``
|
denominator to improve numerical stability. Default: ``1e-8``
|
||||||
weight_decay (float, optional): The weight decay :math:`\lambda`.
|
weight_decay (float, optional): The weight decay :math:`\lambda`.
|
||||||
Default: ``0``.
|
Default: ``0.01``.
|
||||||
bias_correction (bool, optional): If set to ``True``, bias correction
|
bias_correction (bool, optional): If set to ``True``, bias correction
|
||||||
is applied. Default: ``False``
|
is applied. Default: ``False``
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user