- removed ILayer
git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@619 b431acfa-c32f-4a4a-93f1-934dc6c82436
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
/*
|
||||
* 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: ILayer.hpp
|
||||
* Author: jens
|
||||
*
|
||||
* Created on 25. Oktober 2019, 18:33
|
||||
*/
|
||||
|
||||
#ifndef ILAYER_HPP
|
||||
#define ILAYER_HPP
|
||||
|
||||
#include <armadillo>
|
||||
|
||||
class ILayer
|
||||
{
|
||||
public:
|
||||
ILayer *upper;
|
||||
ILayer *lower;
|
||||
|
||||
ILayer()
|
||||
: upper(nullptr)
|
||||
, lower(nullptr)
|
||||
{}
|
||||
|
||||
virtual ~ILayer()
|
||||
{}
|
||||
|
||||
virtual void up_pass(arma::mat const &v) = 0;
|
||||
virtual void down_pass(arma::mat &dst, arma::mat const &src) = 0;
|
||||
};
|
||||
|
||||
|
||||
#endif /* ILAYER_HPP */
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
#include <armadillo>
|
||||
#include <jsoncpp/json/json.h>
|
||||
#include "Rbm.hpp"
|
||||
#include "ILayer.hpp"
|
||||
|
||||
class Layer : public Rbm
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user