Go to the documentation of this file.
12 #include <eigen3/Eigen/Dense>
13 #include <EigenRand/EigenRand>
16 using namespace Eigen;
18 typedef Matrix<double,Dynamic,Dynamic,RowMajor>
RowMajMat;
27 std::tuple<int,int,int> filter,
31 virtual Eigen::MatrixXd Forward_propagation(Eigen::MatrixXd input);
32 virtual Eigen::MatrixXd Backward_propagation(Eigen::MatrixXd output_error,
float learning_rate);
33 virtual Json::Value toJSON();
34 Eigen::MatrixXd Init_filters(
int dim,
int nb);
35 Eigen::MatrixXd GetWeights();
36 Eigen::MatrixXd GetBias();
Matrix< double, Dynamic, Dynamic, RowMajor > RowMajMat
Definition: conv_layer.h:18
int m_width
Definition: conv_layer.h:41
This class is the Base class for all Layers types.
int m_padding
Definition: conv_layer.h:45
int m_filter_size
Definition: conv_layer.h:42
RowMajMat m_bias
Definition: conv_layer.h:48
int m_nb_filters
Definition: conv_layer.h:43
int m_height
Definition: conv_layer.h:40
Matrix< double, Dynamic, Dynamic, RowMajor > RowMajMat
Definition: flatten_layer.cpp:16
RowMajMat m_filter
Definition: conv_layer.h:50
int m_depth
Definition: conv_layer.h:39
int m_stride
Definition: conv_layer.h:44
Definition: conv_layer.h:22
RowMajMat m_weights
Definition: conv_layer.h:47
Definition: activation.h:10