- rename Layer into RbmLayer
- add some log info on toJson() git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@582 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
+5
-5
@@ -7,7 +7,7 @@
|
||||
#include <armadillo>
|
||||
#include <jsoncpp/json/json.h>
|
||||
#include "Rbm.hpp"
|
||||
#include "Layer.hpp"
|
||||
#include "RbmLayer.hpp"
|
||||
#include "Stack.hpp"
|
||||
|
||||
using namespace std;
|
||||
@@ -93,10 +93,10 @@ int main()
|
||||
|
||||
printf("Loaded %d training samples\n", (int)numTraining);
|
||||
|
||||
Layer layer0(project, 0, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
Layer layer1(project, 1, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
Layer layer2(project, 2, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
Layer layer3(project, 3, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
RbmLayer layer0(project, 0, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
RbmLayer layer1(project, 1, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
RbmLayer layer2(project, 2, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
RbmLayer layer3(project, 3, numVisibleX, numVisibleY, numHidden, rbmParams);
|
||||
Stack stack(project);
|
||||
stack.addLayer(&layer0);
|
||||
stack.addLayer(&layer1);
|
||||
|
||||
Reference in New Issue
Block a user