---
title: "ClikaRT::ops::ne_"
sidebar_label: "ne_"
description: "In-place ne: 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>

## ne\_() {#ne_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`ne_`**([`Tensor`](../Tensor.md)`&` `self`, [`ScalarOrTensor`](../ScalarOrTensor.md) `other`)

</div>

In-place [`ne`](./ne.md#ne): 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 1821

</div>
