tf.nn.avg_pool

View source on GitHub

Performs the avg pooling on the input.

tf.nn.avg_pool(
    input, ksize, strides, padding, data_format=None, name=None
)

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

Args:

Returns:

A Tensor of format specified by data_format. The average pooled output tensor.