---
title: "ClikaRT::ops::fliplr"
sidebar_label: "fliplr"
description: "flip on dim 1: reverse each row's column order. Input rank must be >= 2. Copies. ClikaRT::Error (INVALID_ARGUMENT) when the input's rank is < 2 (code_name() carries the reason)."
---

<!-- Generated by tools/doxygen2mdx from Doxygen XML. Do not edit. -->

<span class="api-kind api-kind--function">function</span>

## fliplr() {#fliplr}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`fliplr`**([`Tensor`](../Tensor.md) `input`)

</div>

[`flip`](./flip.md#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, `input`'s shape and dtype.

<div class="api-declared">

Declared in `ClikaRT/compute/ops.h`, line 3287

</div>
