---
title: "ClikaRT::ops::gt_"
sidebar_label: "gt_"
description: "In-place gt: writes the result through x (one/zero at x's dtype). ClikaRT::Error as the value form."
---

<!-- 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)`&` `self`, [`ScalarOrTensor`](../ScalarOrTensor.md) `other`)

</div>

In-place [`gt`](./gt.md#gt): writes the result through `x` (one/zero at `x`'s dtype).

**Throws**

- `ClikaRT::Error`: as the value form.

<div class="api-declared">

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

</div>
