tf.nn.max_pool2d

View source on GitHub

Performs the max pooling on the input.

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

Args:

Returns:

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