- 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:
2019-10-26 06:07:13 +00:00
parent eed6956971
commit d16f0de8fa
8 changed files with 38 additions and 32 deletions
+4 -4
View File
@@ -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;
};