tf.compat.v1.layers.max_pooling1d

Max Pooling layer for 1D inputs.

inputs The tensor over which to pool. Must have rank 3.
pool_size 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