tf.keras.backend.reverse

View source

Reverse a tensor along the specified axes.

Aliases:

  • tf.compat.v1.keras.backend.reverse
  • tf.compat.v2.keras.backend.reverse
tf.keras.backend.reverse(
    x,
    axes
)

Arguments:

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

Returns:

A tensor.

results matching ""

    No results matching ""