tf.keras.backend.reverse

Reverse a tensor along the specified axes.

x Tensor to reverse.
axes Integer or iterable of integers. Axes to reverse.

A tensor.