tf.nn.avg_pool2d

View source on GitHub

Performs the average pooling on the input.

tf.nn.avg_pool2d(
    input, ksize, strides, padding, data_format='NHWC', name=None
)

Each entry in output is the mean of the corresponding size ksize window in value.

Args:

Returns:

A Tensor with the same type as value. The average pooled output tensor.