Neural
Neural::Layer Class Referenceabstract

#include <layer.h>

Inheritance diagram for Neural::Layer:
Collaboration diagram for Neural::Layer:

Public Member Functions

virtual Eigen::MatrixXd Forward_propagation (Eigen::MatrixXd input)=0
 
virtual Eigen::MatrixXd Backward_propagation (Eigen::MatrixXd output_error, float learning_rate)=0
 
virtual Json::Value toJSON ()=0
 
bool AsWeights ()
 

Protected Attributes

Eigen::MatrixXd m_input
 
Eigen::MatrixXd m_output
 
bool m_as_weight
 

Member Function Documentation

◆ AsWeights()

bool Layer::AsWeights ( )

Checks if the current layer has weights

Returns
A bool : true if AsWeights, False if not

◆ Backward_propagation()

virtual Eigen::MatrixXd Neural::Layer::Backward_propagation ( Eigen::MatrixXd  output_error,
float  learning_rate 
)
pure virtual

◆ Forward_propagation()

virtual Eigen::MatrixXd Neural::Layer::Forward_propagation ( Eigen::MatrixXd  input)
pure virtual

◆ toJSON()

virtual Json::Value Neural::Layer::toJSON ( )
pure virtual

Member Data Documentation

◆ m_as_weight

bool Neural::Layer::m_as_weight
protected

◆ m_input

Eigen::MatrixXd Neural::Layer::m_input
protected

◆ m_output

Eigen::MatrixXd Neural::Layer::m_output
protected

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