Neural
activation_layer.h
Go to the documentation of this file.
1 
8 #pragma once
9 #ifndef ACTIVATION_LAYER_H
10 #define ACTIVATION_LAYER_H
11 
12 #include <iostream>
13 #include <eigen3/Eigen/Dense>
14 #include "layer.h"
15 #include "../activation.h"
16 
17 namespace Neural
18 {
19  class Activation_Layer : public Layer
20  {
21 
22  public:
26 
27  virtual Eigen::MatrixXd Forward_propagation(Eigen::MatrixXd input_data);
28  virtual Eigen::MatrixXd Backward_propagation(Eigen::MatrixXd output_error, float learning_rate);
29  virtual Json::Value toJSON();
30 
32 
33  };
34 }
35 #endif
Neural::Activation_Layer::toJSON
virtual Json::Value toJSON()
Definition: activation_layer.cpp:58
layer.h
This class is the Base class for all Layers types.
Neural::Activation_Layer::Backward_propagation
virtual Eigen::MatrixXd Backward_propagation(Eigen::MatrixXd output_error, float learning_rate)
Definition: activation_layer.cpp:54
Neural::Activation_Layer::Activation_Layer
Activation_Layer()
Definition: activation_layer.cpp:22
Neural::Activation_Layer::~Activation_Layer
~Activation_Layer()
Definition: activation_layer.cpp:32
Neural::Activation_Layer::Forward_propagation
virtual Eigen::MatrixXd Forward_propagation(Eigen::MatrixXd input_data)
Definition: activation_layer.cpp:42
Neural::Layer
Definition: layer.h:18
Neural::Activation_Layer::p_activation
Activation * p_activation
Definition: activation_layer.h:31
Neural::Activation
Definition: activation.h:12
Neural::Activation_Layer
Definition: activation_layer.h:19
Neural
Definition: activation.h:10