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

## logical\_not\_() {#logical_not_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`logical_not_`**([`Tensor`](../Tensor.md)`&` `self`)

</div>

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

</div>
