Done with SGD and Adagrad, still need to optimize them but they work.
This commit is contained in:
1 parent
bd2edea8ef
commit
e5f8c91be4
12 files changed
+299
-133
No files matched your search
@@ -21,6 +21,11 @@ namespace neural_networks{
|
||||
utils::Vector<T> dbiases;
|
||||
utils::Matrix<T> dinputs;
|
||||
|
||||
// Variables for optimizers
|
||||
utils::Matrix<T> weight_momentums;
|
||||
utils::Vector<T> bias_momentums;
|
||||
utils::Matrix<T> weight_cache;
|
||||
utils::Vector<T> bias_cache;
|
||||
|
||||
// Default Constructor
|
||||
Dense_Layer() = default;
|
||||
|
||||
Reference in new issue
Block a user