Neural
Neural::Pooling_layer Class Reference

#include <pooling_layer.h>

Inheritance diagram for Neural::Pooling_layer:
Collaboration diagram for Neural::Pooling_layer:

Public Member Functions

 Pooling_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

◆ Pooling_layer()

Pooling_layer::Pooling_layer ( )

Member Function Documentation

◆ Backward_propagation()

MatrixXd Pooling_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 Pooling_layer::Forward_propagation ( Eigen::MatrixXd  input)
virtual

Implements Neural::Layer.

◆ toJSON()

Json::Value Pooling_layer::toJSON ( )
virtual

Implements Neural::Layer.


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