@tf_export(v1=['layers.MaxPooling1D'])
class MaxPooling1D(keras_layers.MaxPooling1D, base.Layer):
"""Max Pooling layer for 1D inputs.
用於1維輸入的MaxPooling層。
Arguments:
pool_size: An integer or tuple/list of a single integer,
representing the size of the pooling window.
pool_size:int,表示pooling window的大小。
strides: An integer or tuple/list of a single integer, specifying the
strides of the pooling operation.
strides:int,指定pooling操作的步長。
padding: A string. The padding method, either 'valid' or 'same'.
Case-insensitive.
padding:string,valid或same,大小寫不敏感。
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)`.
date_format:string,channels_last(默認)或channels_first。inputs輸入的維度。channels_last表示inputs的形狀是(batch, length, channels);channels_first表示inputs的形狀是(batch, channels, length)。
name: A string, the name of the layer.
"""