#include <activation_layer.h>
◆ Activation_Layer() [1/2]
Activation_Layer::Activation_Layer |
( |
| ) |
|
◆ Activation_Layer() [2/2]
Activation_Layer::Activation_Layer |
( |
Activation * |
a | ) |
|
◆ ~Activation_Layer()
Activation_Layer::~Activation_Layer |
( |
| ) |
|
◆ Backward_propagation()
MatrixXd Activation_Layer::Backward_propagation |
( |
Eigen::MatrixXd |
output_error, |
|
|
float |
learning_rate |
|
) |
| |
|
virtual |
Performs retro propagation on the activation layer
- Parameters
-
output_error | The inputs of the Layer = The outputs of the previous Layer, or The data of the first Layer |
learning_rate | The step size at each iteration |
- Returns
- Matrix of derived activation function
Implements Neural::Layer.
◆ Forward_propagation()
MatrixXd Activation_Layer::Forward_propagation |
( |
Eigen::MatrixXd |
input_data | ) |
|
|
virtual |
Performs forward propagation on the activation layer
- Parameters
-
input_data | The inputs of the Layer = The outputs of the previous Layer, or The data of the first Layer |
- Returns
- Matrix of activation function
Implements Neural::Layer.
◆ toJSON()
Json::Value Activation_Layer::toJSON |
( |
| ) |
|
|
virtual |
◆ p_activation
Activation* Neural::Activation_Layer::p_activation |
The documentation for this class was generated from the following files: