-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathPoolLayer.h
More file actions
54 lines (40 loc) · 778 Bytes
/
PoolLayer.h
File metadata and controls
54 lines (40 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
//
// Created by bobby on 27.11.16.
//
#ifndef NN_NEURON_POOLLAYER_H
#define NN_NEURON_POOLLAYER_H
#include <vector>
#include "Layer.h"
class PoolLayer : public Layer{
/**
* Constructor
* @param lower pointer to lower layer
*/
PoolLayer(Layer* lower);
/**
* Destructor
* @param lower pointer to lower layer
*/
~PoolLayer();
/**
* @brief forward pass
*/
void forward_layer();
/**
* @brief backpropagation
*/
void backProp_layer();
/**
* @brief changing weights according ddot
*/
void learn();
/**
* @brief insert new values to input
*/
void update_input(double* in);
/**
* @brief print
*/
void print();
};
#endif //NN_NEURON_POOLLAYER_H