Neural
Neural::Flatten_Layer Class Reference

#include <flatten_layer.h>

Inheritance diagram for Neural::Flatten_Layer:
Collaboration diagram for Neural::Flatten_Layer:

Public Member Functions

 Flatten_Layer ()
 
virtual Eigen::MatrixXd Forward_propagation (Eigen::MatrixXd input)
 
virtual Eigen::MatrixXd Backward_propagation (Eigen::MatrixXd output_error, float learning_rate)
 
virtual Json::Value toJSON ()
 
- Public Member Functions inherited from Neural::Layer
bool AsWeights ()
 

Additional Inherited Members

- Protected Attributes inherited from Neural::Layer
Eigen::MatrixXd m_input
 
Eigen::MatrixXd m_output
 
bool m_as_weight
 

Constructor & Destructor Documentation

◆ Flatten_Layer()

Flatten_Layer::Flatten_Layer ( )

Member Function Documentation

◆ Backward_propagation()

MatrixXd Flatten_Layer::Backward_propagation ( Eigen::MatrixXd  output_error,
float  learning_rate 
)
virtual

Performs retro propagation on the activation layer

Parameters
output_errorThe inputs of the Layer = The outputs of the previous Layer, or The data of the first Layer
learning_rateThe step size at each iteration
Returns
Matrix of derived activation function

Implements Neural::Layer.

◆ Forward_propagation()

MatrixXd Flatten_Layer::Forward_propagation ( Eigen::MatrixXd  input)
virtual

Implements Neural::Layer.

◆ toJSON()

Json::Value Flatten_Layer::toJSON ( )
virtual

Implements Neural::Layer.


The documentation for this class was generated from the following files: