---
title: "ClikaRT::ops::hardsigmoid_"
sidebar_label: "hardsigmoid_"
description: "In-place hardsigmoid: writes the result through self; same formula, arguments, and error conditions as hardsigmoid(). A view input writes through its base storage."
---

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

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

## hardsigmoid\_() {#hardsigmoid_}

<div class="api-signature">

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

</div>

In-place [`hardsigmoid`](./hardsigmoid.md#hardsigmoid): writes the result through `self`; same formula, arguments, and error conditions as [`hardsigmoid()`](./hardsigmoid.md#hardsigmoid). A view input writes through its base storage. Returns `self` under the value surface, [`Result`](../Result.md)`<void>` under the [`Result`](../Result.md) surface; [`CLIKART_CHECK`](../../index.md#CLIKART_CHECK) is the mode-stable spelling.

<div class="api-declared">

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

</div>
