spelling: default

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2024-01-01 22:30:59 -05:00
parent 8cae2e18f4
commit c249816488
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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):