From dbed14cefa477cbe6b2ed265d658b9a8f1f5793d Mon Sep 17 00:00:00 2001 From: Jens Ahrensfeld Date: Mon, 17 Jan 2022 15:07:03 +0000 Subject: [PATCH] - remove context from Layer git-svn-id: http://moon:8086/svn/software/trunk/projects/Rbm@819 b431acfa-c32f-4a4a-93f1-934dc6c82436 --- source/Layer.cpp | 6 ------ source/Layer.hpp | 1 - 2 files changed, 7 deletions(-) diff --git a/source/Layer.cpp b/source/Layer.cpp index b6c3e23..29a8a63 100644 --- a/source/Layer.cpp +++ b/source/Layer.cpp @@ -24,7 +24,6 @@ Layer::Layer(const string &name, size_t id, size_t numVisibleX, size_t numVisibl , m_numVisibleX(numVisibleX) , m_numVisibleY(numVisibleY) , m_numContext(numContext) -, m_context(0, numContext) { cout << "Create Layer " << m_name << "." << to_string((int)m_id) << endl; } @@ -75,11 +74,6 @@ int Layer::numVisibleY() return m_numVisibleY; } -const arma::mat& Layer::context() const -{ - return m_context; -} - Layer* Layer::root() { Layer *pLayer = this; diff --git a/source/Layer.hpp b/source/Layer.hpp index 58b6a49..2796774 100644 --- a/source/Layer.hpp +++ b/source/Layer.hpp @@ -63,7 +63,6 @@ private: size_t m_numVisibleX; size_t m_numVisibleY; size_t m_numContext; - arma::mat m_context; // Compatibility std::string filePrefix(const std::string &dir, const std::string &prjname) const;