Files
Rbm/source/Stack.hpp
T
jens f50607ef74 - add more log info
- create layers dynamically in main

git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@583 b431acfa-c32f-4a4a-93f1-934dc6c82436
2019-10-26 06:16:18 +00:00

42 lines
727 B
C++

/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: Stack.hpp
* Author: jens
*
* Created on 25. Oktober 2019, 18:26
*/
#ifndef STACK_HPP
#define STACK_HPP
#include <string>
#include <vector>
#include <armadillo>
#include <jsoncpp/json/json.h>
#include "RbmLayer.hpp"
class Stack
{
public:
Stack(const std::string &prjname);
Stack(const Stack& orig);
virtual ~Stack();
void addLayer(RbmLayer *pLayer);
RbmLayer* getLayer(size_t id) const;
void save(size_t numTraining);
private:
const std::string &m_prjname;
RbmLayer *m_pLayers;
};
#endif /* STACK_HPP */