tf.nn.max_pool

View source on GitHub

Performs the max pooling on the input.

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

Args:

Returns:

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