From eac49ca7be8a5bae853da4c4f9b6f57a2cd09ec6 Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Thu, 7 Nov 2019 14:24:18 +0000 Subject: [PATCH] - removed ILayer git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@619 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- source/ILayer.hpp | 39 --------------------------------------- source/Layer.hpp | 1 - 2 files changed, 40 deletions(-) delete mode 100644 source/ILayer.hpp diff --git a/source/ILayer.hpp b/source/ILayer.hpp deleted file mode 100644 index feb9863..0000000 --- a/source/ILayer.hpp +++ /dev/null @@ -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 - -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 */ - diff --git a/source/Layer.hpp b/source/Layer.hpp index 30e7b0f..e5cbf23 100644 --- a/source/Layer.hpp +++ b/source/Layer.hpp @@ -19,7 +19,6 @@ #include #include #include "Rbm.hpp" -#include "ILayer.hpp" class Layer : public Rbm {