tf.keras.backend.temporal_padding

View source on GitHub

Pads the middle dimension of a 3D tensor.

tf.keras.backend.temporal_padding(
    x, padding=(1, 1)
)

Arguments:

Returns:

A padded 3D tensor.