We can't initialize a matrix with an uninitialized matrix.
This commit is contained in:
@@ -54,8 +54,7 @@ class RMSPROP
|
||||
function(function),
|
||||
lr(lr),
|
||||
alpha(alpha),
|
||||
eps(eps),
|
||||
meanSquaredGad(function.Weights())
|
||||
eps(eps)
|
||||
{
|
||||
// Nothing to do here.
|
||||
}
|
||||
|
||||
@@ -38,8 +38,7 @@ class SteepestDescent
|
||||
const double mom = 0) :
|
||||
function(function),
|
||||
lr(lr),
|
||||
mom(mom),
|
||||
momWeights(function.Weights())
|
||||
mom(mom)
|
||||
|
||||
{
|
||||
// Nothing to do here.
|
||||
|
||||
Reference in New Issue
Block a user