We can't initialize a matrix with an uninitialized matrix.

This commit is contained in:
marcus
2015-11-12 14:50:19 +01:00
parent 423fc62643
commit 9ea11b8bf9
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -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.