diff options
author | Justin Wernick <justin@worthe-it.co.za> | 2022-04-19 21:24:15 +0200 |
---|---|---|
committer | Justin Wernick <justin@worthe-it.co.za> | 2022-04-19 21:24:15 +0200 |
commit | 8eebf1079fbed2848ee47cf990f5def5926a0c1f (patch) | |
tree | b51a6cc24fb900c717bf479d357a9ae8a98e07ef /2015-spacebot/include/brain/bias_node.h | |
parent | 550caeee11086bd56db69176b3149ddfa160ee30 (diff) |
Refile for merging repos
Diffstat (limited to '2015-spacebot/include/brain/bias_node.h')
-rw-r--r-- | 2015-spacebot/include/brain/bias_node.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2015-spacebot/include/brain/bias_node.h b/2015-spacebot/include/brain/bias_node.h new file mode 100644 index 0000000..77c5884 --- /dev/null +++ b/2015-spacebot/include/brain/bias_node.h @@ -0,0 +1,12 @@ +#pragma once + +#include "brain/neural_node.h" + +class BiasNode: public NeuralNode +{ +public: +BiasNode() : NeuralNode("b0") + { + _activation = 1; + } +}; |