- correct energy calc. for BB-RBMs
git-svn-id: http://moon:8086/svn/software/trunk/projects/RBM@39 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -23,15 +23,6 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
double getEnergy(const Weights &weights)
|
||||
{
|
||||
double energy;
|
||||
|
||||
energy = -((Weights&)weights).hiddenBias().transpose() * states();
|
||||
|
||||
return energy;
|
||||
}
|
||||
|
||||
private:
|
||||
double accum(Layer &layer, Weights &weights, uint32_t index)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user