- 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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user