tf.keras.layers.GlobalMaxPool1D

View source on GitHub

Global max pooling operation for temporal data.

tf.keras.layers.GlobalMaxPool1D(
    data_format='channels_last', **kwargs
)

Arguments:

Input shape:

Output shape:

2D tensor with shape (batch_size, features).