- rearranged dot product

git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@29 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
2014-10-16 18:35:32 +00:00
parent 288775cf8c
commit 3fb8ac0629
+1 -1
View File
@@ -37,7 +37,7 @@ private:
{
double sum = ((Weights&)weights).visibleBias()[index];
sum += layer.states().transpose() * ((Weights&)weights).weights().row(index).transpose();
sum += ((Weights&)weights).weights().row(index) * layer.states();
return sum;
}