tf.keras.ops.fliplr

Reverse the order of elements along axis 1 (left/right).

For a 2-D tensor, this flips the entries in each row in the left/right direction. Columns are preserved, but appear in a different order than before.

x Input tensor, must be at least 2-D.

Output tensor with columns reversed.