Commit 070c7e96 authored by Michael Carilli's avatar Michael Carilli
Browse files

Tested on 1x8x1

parent 3b32c401
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment