layertypes/averagePooling library

Classes

AveragePooling2DLayer
A 2D average pooling layer.
GlobalAveragePoolingLayer
A layer that reduces a sequence Matrix seq_len, dModel to a single Vector dModel by averaging across the sequence dimension.

Functions

globalAveragePooling(Tensor<Matrix> input) Tensor<Vector>
Computes the average of a Tensor