tf.keras.layers.Cropping1D

Cropping layer for 1D input (e.g. temporal sequence).

Inherits From: Layer

It crops along the time dimension (axis 1).

Examples:

input_shape = (2,