---
title: "softplusInPlace"
sidebar_label: "softplusInPlace"
description: "Kotlin binding reference: softplusInPlace."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Ops](index.md)/[softplusInPlace](softplusInPlace.md)

# softplusInPlace

[common]\
fun [softplusInPlace](softplusInPlace.md)(self: [Tensor](../Tensor/index.md), beta: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 1.0, threshold: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 20.0): [Tensor](../Tensor/index.md)

`softplusInPlace(self: Tensor, beta: Double = 1.0, threshold: Double = 20.0)`: the `softplus_` operator. In-place `softplus`: writes the result through `self`; same formula, arguments, and error conditions as `softplus()`. A view input writes through its base storage. Returns `self` under the value surface, `Result<void>` under the `Result` surface; `CLIKART_CHECK` is the mode-stable spelling. Writes through `self` and returns it, so calls chain.