- prepared for context units

- simplified status report

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@745 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2022-01-07 08:49:12 +00:00
parent cbadd106f4
commit 7f3535954b
4 changed files with 50 additions and 35 deletions
+2 -2
View File
@@ -97,7 +97,7 @@ bool Layer::loadWeights(const string &prjname)
result = fscanf(pFile, "%f", &v);
if (result > 0)
{
m_w(i, j) = v;
m_whv(i, j) = v;
}
}
}
@@ -140,7 +140,7 @@ bool Layer::saveWeights(const string &prjname)
{
for (j=0; j < numHidden; j++)
{
fprintf(pFile, "%3.6f ", m_w(i,j));
fprintf(pFile, "%3.6f ", m_whv(i,j));
}
fprintf(pFile, "\n");
}