layertypes/averagePooling library
Classes
- AveragePooling2DLayer
- A 2D average pooling layer.
- GlobalAveragePoolingLayer
-
A layer that reduces a sequence Matrix
seq_len, dModelto a single VectordModelby averaging across the sequence dimension.
Functions
-
globalAveragePooling(
Tensor< Matrix> input) → Tensor<Vector> - Computes the average of a Tensor