Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
apex
Commits
0ce8ad3e
Commit
0ce8ad3e
authored
Dec 18, 2019
by
bonlime
Committed by
mcarilli
Dec 18, 2019
Browse files
fix beta2 => beta1 (#661)
parent
c19ee275
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
apex/optimizers/fused_novograd.py
apex/optimizers/fused_novograd.py
+1
-1
No files found.
apex/optimizers/fused_novograd.py
View file @
0ce8ad3e
...
@@ -47,7 +47,7 @@ class FusedNovoGrad(torch.optim.Optimizer):
...
@@ -47,7 +47,7 @@ class FusedNovoGrad(torch.optim.Optimizer):
reg_inside_moment (bool, optional): whether do regularization (norm and L2)
reg_inside_moment (bool, optional): whether do regularization (norm and L2)
in momentum calculation. True for include, False for not include and
in momentum calculation. True for include, False for not include and
only do it on update term. (default: False)
only do it on update term. (default: False)
grad_averaging (bool, optional): whether apply (1-beta
2
) to grad when
grad_averaging (bool, optional): whether apply (1-beta
1
) to grad when
calculating running averages of gradient. (default: True)
calculating running averages of gradient. (default: True)
norm_type (int, optional): which norm to calculate for each layer.
norm_type (int, optional): which norm to calculate for each layer.
2 for L2 norm, and 0 for infinite norm. These 2 are only supported
2 for L2 norm, and 0 for infinite norm. These 2 are only supported
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment