tf.contrib.layers.max_pool2d(*args, **kwargs)
Adds a 2D Max Pooling op.
It is assumed that the pooling is done per image but not in batch or channels.
Args:
inputs: A Tensor of size [batch_size, height, width, channels].
kernel_size: A list of length 2: [kernel_height, kernel_width] of the pooling kernel over which the op is computed. Can be an int if both values are the same.
stride: A list of length 2: [stride_height, stride_width]. Can be an int if both strides are the same. Note that pr