An integer or tuple/list of a single integer,
representing the size of the pooling window.
strides
An integer or tuple/list of a single integer, specifying the
strides of the pooling operation.
padding
A string. The padding method, either 'valid' or 'same'.
Case-insensitive.
data_format
A string, one of channels_last (default) or channels_first.
The ordering of the dimensions in the inputs.
channels_last corresponds to inputs with shape
(batch, length, channels) while channels_first corresponds to
inputs with shape (batch, channels, length).
[null,null,["Last updated 2020-10-01 UTC."],[],[],null,["# tf.compat.v1.layers.MaxPooling1D\n\n\u003cbr /\u003e\n\n|----------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.2.0/tensorflow/python/layers/pooling.py#L99-L128) |\n\nMax Pooling layer for 1D inputs.\n\nInherits From: [`MaxPool1D`](../../../../tf/keras/layers/MaxPool1D), [`Layer`](../../../../tf/compat/v1/layers/Layer) \n\n tf.compat.v1.layers.MaxPooling1D(\n pool_size, strides, padding='valid', data_format='channels_last', name=None,\n **kwargs\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Arguments --------- ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pool_size` | An integer or tuple/list of a single integer, representing the size of the pooling window. |\n| `strides` | An integer or tuple/list of a single integer, specifying the strides of the pooling operation. |\n| `padding` | A string. The padding method, either 'valid' or 'same'. Case-insensitive. |\n| `data_format` | A string, one of `channels_last` (default) or `channels_first`. The ordering of the dimensions in the inputs. `channels_last` corresponds to inputs with shape `(batch, length, channels)` while `channels_first` corresponds to inputs with shape `(batch, channels, length)`. |\n| `name` | A string, the name of the layer. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|--------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `graph` | DEPRECATED FUNCTION \u003cbr /\u003e | **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Stop using this property because tf.layers layers no longer track their graph. |\n| `scope_name` | \u003cbr /\u003e |\n\n\u003cbr /\u003e"]]