• Reverses a tf.Tensor2D along a specified axis.

    Parameters

    • x: TensorLike | Tensor2D

      The input tensor.

    • Optional axis: number | number[]

      The set of dimensions to reverse. Must be in the range [-rank(x), rank(x)). Defaults to all axes.

    Returns Tensor2D

Generated using TypeDoc