Global average pooling operation for spatial data.
Input shape:
dataFormat
CHANNEL_LAST
[batchSize, rows, cols, channels]
CHANNEL_FIRST
[batchSize, channels, rows, cols]
Output shape: 2D tensor with shape: [batchSize, channels].
[batchSize, channels]
Generated using TypeDoc
Global average pooling operation for spatial data.
Input shape:
dataFormat
isCHANNEL_LAST
: 4D tensor with shape:[batchSize, rows, cols, channels]
.dataFormat
isCHANNEL_FIRST
: 4D tensor with shape:[batchSize, channels, rows, cols]
.Output shape: 2D tensor with shape:
[batchSize, channels]
.