Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub | SourceForge
AveragePoolingLayer Class Reference

AveragePoolingLayer class. More...

Inheritance diagram for AveragePoolingLayer:
PoolingLayer Layer

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 {
enum  Method {

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.

[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).