Layer factory function to create a global average-pooling layer.

GlobalAveragePooling(name = "")

Arguments

name

string (optional) the name of the Function instance in the network

Details

The global average-pooling operation computes the element-wise mean over all items on an N-dimensional grid, such as an image.

This operation is the same as applying reduce_mean() to all grid dimensions.