Skip to main content

ClikaRT::ops::fliplr

function

fliplr()

Tensor fliplr(Tensor x)

flip on dim 1: reverse each row's column order. Input rank must be >= 2. Copies.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) when the input's rank is < 2 (code_name() carries the reason).

Returns: a new tensor, x's shape and dtype.

Declared in ClikaRT/compute/ops.h, line 3200