mirror of
https://github.com/ml-explore/mlx.git
synced 2025-07-30 22:51:24 +08:00
format (#510)
This commit is contained in:
parent
363d3add6d
commit
d52383367a
@ -424,7 +424,9 @@ class Adamax(Adam):
|
||||
):
|
||||
super().__init__(learning_rate, betas, eps)
|
||||
if not 0.0 <= eps:
|
||||
raise ValueError(f"Epsilon value should be >=0, {self.eps} was provided instead")
|
||||
raise ValueError(
|
||||
f"Epsilon value should be >=0, {self.eps} was provided instead"
|
||||
)
|
||||
|
||||
def apply_single(
|
||||
self, gradient: mx.array, parameter: mx.array, state: OptimizerState
|
||||
|
Loading…
Reference in New Issue
Block a user