Save the date! Google I/O returns May 18-20 Register now

tf.keras.backend.reverse

TensorFlow 2 version View source on GitHub

Reverse a tensor along the specified axes.

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

A tensor.