tf.keras.backend.pool2d

View source on GitHub

2D Pooling.

tf.keras.backend.pool2d(
    x, pool_size, strides=(1, 1), padding='valid', data_format=None, pool_mode='max'
)

Arguments:

Returns:

A tensor, result of 2D pooling.

Raises: