- 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:
+4
-4
@@ -18,7 +18,7 @@
|
||||
#include <vector>
|
||||
#include <armadillo>
|
||||
#include <jsoncpp/json/json.h>
|
||||
#include "Layer.hpp"
|
||||
#include "RbmLayer.hpp"
|
||||
|
||||
class Stack
|
||||
{
|
||||
@@ -27,13 +27,13 @@ public:
|
||||
Stack(const Stack& orig);
|
||||
virtual ~Stack();
|
||||
|
||||
void addLayer(Layer *pLayer);
|
||||
const Layer* getLayer(size_t id);
|
||||
void addLayer(RbmLayer *pLayer);
|
||||
const RbmLayer* getLayer(size_t id);
|
||||
void save(size_t numTraining);
|
||||
|
||||
private:
|
||||
const std::string &m_prjname;
|
||||
Layer *m_pLayers;
|
||||
RbmLayer *m_pLayers;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user