- added passes to layer
- removed redundancy git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@784 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -349,13 +349,9 @@ void RbmComponent::upDownPass(const arma::mat& vc)
|
||||
}
|
||||
else if (prev)
|
||||
{
|
||||
if (prev)
|
||||
{
|
||||
RbmComponent *pComp = static_cast<RbmComponent*> (prev);
|
||||
pComp->downPass(getReconst());
|
||||
}
|
||||
RbmComponent *pComp = static_cast<RbmComponent*> (prev);
|
||||
pComp->downPass(getReconst());
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
arma::mat RbmComponent::getConvolutedWeight(arma::mat const &w)
|
||||
|
||||
Reference in New Issue
Block a user