Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: SRNN.hpp
- Revision:
- 5:026d42b4455f
- Parent:
- 4:9d94330f380a
--- a/SRNN.hpp Wed Feb 18 15:01:17 2015 +0000
+++ b/SRNN.hpp Thu Feb 19 08:20:23 2015 +0000
@@ -12,6 +12,7 @@
#include "mbed.h"
#include "../ml_util/ml_util.hpp"
+#include "../debug/debug.hpp"
class SRNN
{
@@ -37,6 +38,18 @@
float* sample_maxmin; // サンプルの取りうる最大/最小値信号を並べたベクトル
float* predict_signal; // 予測出力
+// for BUG fix....
+ float* norm_sample;
+ float* dWin_mid;
+ float* dWmid_out;
+ float* prevdWin_mid;
+ float* prevdWmid_out;
+ float* out_signal;
+ float* in_mid_net;
+ float* mid_out_net;
+ float* sigma;
+
+
private:
// サイズn*1のベクトルの要素をそれぞれシグモイド関数に通して,
// 結果をoutにセットする.(ニューロンのユニット動作を一括で)