---
title: "ClikaRT::ops::softplus_"
sidebar_label: "softplus_"
description: "In-place softplus: writes the result through self; same formula, arguments, and error conditions as softplus(). 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>

## softplus\_() {#softplus_}

<div class="api-signature">

[`Tensor`](../Tensor.md)`&` **`softplus_`**(<br />
&nbsp;&nbsp;&nbsp;&nbsp;[`Tensor`](../Tensor.md)`&` `self`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;`double` `beta` `=` `1.0`,<br />
&nbsp;&nbsp;&nbsp;&nbsp;`double` `threshold` `=` `20.0`<br />
)

</div>

In-place [`softplus`](./softplus.md#softplus): writes the result through `self`; same formula, arguments, and error conditions as [`softplus()`](./softplus.md#softplus). 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 1102

</div>
