tf.nn.pool

tf.nn.pool

tf.nn.pool

pool(
    input,
    window_shape,
    pooling_type,
    padding,
    dilation_rate=None,
    strides=None,
    name=None,
    data_format=None
)

Defined in tensorflow/python/ops/nn_ops.py.

See the guide: Neural Network > Pooling

Performs an N-D pooling operation.

In the case that data_format does not start with "NC", computes for 0 <= b <