tf.compat.v1.layers.average_pooling1d

View source on GitHub

Average Pooling layer for 1D inputs. (deprecated)

tf.compat.v1.layers.average_pooling1d(
    inputs, pool_size, strides, padding='valid', data_format='channels_last',
    name=None
)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use keras.layers.AveragePooling1D instead.

Arguments:

Returns:

The output tensor, of rank 3.

Raises: