From 6fd23da97fa9700f59c61a966b4bf7d25fa46b34 Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Thu, 29 Feb 2024 03:15:03 +0100 Subject: initial commit --- SimpleRN.hpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 SimpleRN.hpp (limited to 'SimpleRN.hpp') diff --git a/SimpleRN.hpp b/SimpleRN.hpp new file mode 100644 index 0000000..6d0cc2c --- /dev/null +++ b/SimpleRN.hpp @@ -0,0 +1,17 @@ +#ifndef __SIMPLERN_HPP__ +#define __SIMPLERN_HPP__ + +#include "SingleMLP.hpp" + +class SimpleRN : public SingleMLP +{ +public: + SimpleRN(unsigned inputCount, unsigned hiddenNodeCount, unsigned outputCount, NodeClass nodeClass, bool zeroed = false); + + std::vector io(const std::vector &inputs); + +private: + std::vector m_context; +}; + +#endif // __SIMPLERN_HPP__ -- cgit v1.2.1