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
070c7e96
Commit
070c7e96
authored
Apr 26, 2019
by
Michael Carilli
Browse files
Tested on 1x8x1
parent
3b32c401
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
csrc/multi_tensor_sgd_kernel.cu
csrc/multi_tensor_sgd_kernel.cu
+1
-2
No files found.
csrc/multi_tensor_sgd_kernel.cu
View file @
070c7e96
...
...
@@ -107,8 +107,7 @@ struct SGDFunctor
{
if
(
!
first_run
)
incoming_moms
[
ii
]
=
incoming_moms
[
ii
]
*
momentum
+
(
1.
f
-
dampening
)
*
incoming_grads
[
ii
];
else
// initialize momentume to current incoming grads
else
// initialize momentums to current incoming grads
incoming_moms
[
ii
]
=
incoming_grads
[
ii
];
if
(
nesterov
)
...
...
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