mirror of
https://github.com/ml-explore/mlx.git
synced 2025-08-21 12:06:42 +08:00
spelling: default
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
8cae2e18f4
commit
c249816488
@ -16,7 +16,7 @@ class KeySequence {
|
|||||||
void seed(uint64_t seed);
|
void seed(uint64_t seed);
|
||||||
array next();
|
array next();
|
||||||
|
|
||||||
// static defualt
|
// static default
|
||||||
static KeySequence& default_() {
|
static KeySequence& default_() {
|
||||||
static KeySequence ks(0);
|
static KeySequence ks(0);
|
||||||
return ks;
|
return ks;
|
||||||
|
@ -253,7 +253,7 @@ class AdaDelta(Optimizer):
|
|||||||
rho (float, optional): The coefficient :math:`\rho` used for computing a
|
rho (float, optional): The coefficient :math:`\rho` used for computing a
|
||||||
running average of squared gradients. Default: ``0.9``
|
running average of squared gradients. Default: ``0.9``
|
||||||
eps (float, optional): The term :math:`\epsilon` added to the denominator to improve
|
eps (float, optional): The term :math:`\epsilon` added to the denominator to improve
|
||||||
numerical stability. Ddefault: `1e-8`
|
numerical stability. Default: `1e-8`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, learning_rate: float, rho: float = 0.9, eps: float = 1e-6):
|
def __init__(self, learning_rate: float, rho: float = 0.9, eps: float = 1e-6):
|
||||||
|
Loading…
Reference in New Issue
Block a user