Neural
flatten_layer.h
Go to the documentation of this file.
1 
7 #pragma once
8 #ifndef FLATTEN_LAYER_H
9 #define FLATTEN_LAYER_H
10 
11 #include <iostream>
12 #include <eigen3/Eigen/Dense>
13 #include <EigenRand/EigenRand>
14 #include "layer.h"
15 #include <chrono>
16 
17 namespace Neural
18 {
19  class Flatten_Layer : public Layer
20  {
21 
22  public:
23  Flatten_Layer();
24  virtual Eigen::MatrixXd Forward_propagation(Eigen::MatrixXd input);
25  virtual Eigen::MatrixXd Backward_propagation(Eigen::MatrixXd output_error, float learning_rate);
26  virtual Json::Value toJSON();
27 
28 
29  protected:
30 
31  };
32 }
33 #endif
Neural::Flatten_Layer::Flatten_Layer
Flatten_Layer()
Definition: flatten_layer.cpp:19
Neural::Flatten_Layer::Backward_propagation
virtual Eigen::MatrixXd Backward_propagation(Eigen::MatrixXd output_error, float learning_rate)
Definition: flatten_layer.cpp:38
layer.h
This class is the Base class for all Layers types.
Neural::Layer
Definition: layer.h:18
Neural::Flatten_Layer::toJSON
virtual Json::Value toJSON()
Definition: flatten_layer.cpp:43
Neural::Flatten_Layer
Definition: flatten_layer.h:19
Neural::Flatten_Layer::Forward_propagation
virtual Eigen::MatrixXd Forward_propagation(Eigen::MatrixXd input)
Definition: flatten_layer.cpp:23
Neural
Definition: activation.h:10