AveragePoolingLayer class. More...
Inheritance diagram for AveragePoolingLayer:
Public Member Functions | |
AveragePoolingLayer (Function::Type f, const Size &srcSize, size_t srcDepth, const Size &poolingSize, const Size &poolingStride, const Size &poolingPad=Size()) | |
Creates new AveragePoolingLayer class. More... | |
Public Member Functions inherited from Layer | |
virtual | ~Layer () |
Additional Inherited Members | |
Public Types inherited from Layer | |
enum | Type { Input, Convolutional, MaxPooling, AveragePooling, FullyConnected, Dropout } |
enum | Method { Fast, Check, Train } |
Detailed Description
AveragePoolingLayer class.
Average pooling layer in neural network.
Constructor & Destructor Documentation
◆ AveragePoolingLayer()
AveragePoolingLayer | ( | Function::Type | f, |
const Size & | srcSize, | ||
size_t | srcDepth, | ||
const Size & | poolingSize, | ||
const Size & | poolingStride, | ||
const Size & | poolingPad = Size() |
||
) |
Creates new AveragePoolingLayer class.
- Parameters
-
[in] f - a type of activation function used in this layer. [in] srcSize - a size (width and height) of input image. [in] srcDepth - a number of input channels (images). [in] poolingSize - a pooling size. [in] poolingStride - a pooling stride. [in] poolingPad - a pooling pad. By default it is equal to (0, 0).