---
title: "ClikaRT::ops::gt"
sidebar_label: "gt"
description: "Elementwise a > other; output as eq. the broadcast-shaped Bool mask. ClikaRT::Error (INVALID_ARGUMENT) when the operand shapes are not broadcast-compatible."
---

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

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

## gt() {#gt}

<div class="api-signature">

[`Tensor`](../Tensor.md) **`gt`**([`Tensor`](../Tensor.md) `input`, [`ScalarOrTensor`](../ScalarOrTensor.md) `other`)

</div>

Elementwise `a > other`; output as [`eq`](./eq.md#eq).

**Returns:** the broadcast-shaped `Bool` mask.

**Throws**

- `ClikaRT::Error`: (`INVALID_ARGUMENT`) when the operand shapes are not broadcast-compatible.

<div class="api-declared">

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

</div>
