TensorFlow 2 version | View source on GitHub |
Reverse a tensor along the specified axes.
tf.keras.backend.reverse(
x, axes
)
Arguments | |
---|---|
x
|
Tensor to reverse. |
axes
|
Integer or iterable of integers. Axes to reverse. |
Returns | |
---|---|
A tensor. |