GlobalAvgPool2D
Global average pooling operation for 2D data (images and so on).
NOTE: Works with tensors which must have rank 4 (batch, height, width, channels).
Input shape: 4D tensor with shape (batch_size, rows, cols, channels)
.
Output shape: 2D tensor with shape (batch_size, channels)
.
Since
0.2
Constructors
GlobalAvgPool2D
Link copied to clipboard
Creates GlobalAvgPool2D object.
Functions
buildFromInboundLayers
Link copied to clipboard
Extend this function to define variables in layer.
computeOutputShape
Link copied to clipboard
Computes output shape, based on inputShape and Layer type.
computeOutputShapeFromInboundLayers
Link copied to clipboard
Computes output shape, based on input shapes of inbound layers.
forward
Link copied to clipboard
Properties
hasActivation
Link copied to clipboard
inboundLayers
Link copied to clipboard
isTrainable
Link copied to clipboard
outboundLayers
Link copied to clipboard
outputShape
Link copied to clipboard
paramCount
Link copied to clipboard
parentModel
Link copied to clipboard