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

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

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

# softcapLogitsInPlace

[common]\
fun [softcapLogitsInPlace](softcapLogitsInPlace.md)(self: [Tensor](../Tensor/index.md), cap: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`softcapLogitsInPlace(self: Tensor, cap: Tensor)`: the `softcap_logits_` operator. In-place `softcap_logits`: writes the result through `self`; same formula, arguments, and error conditions as `softcap_logits()`. 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.

[common]\
fun [softcapLogitsInPlace](softcapLogitsInPlace.md)(self: [Tensor](../Tensor/index.md), cap: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html)): [Tensor](../Tensor/index.md)

`softcapLogitsInPlace(self: Tensor, cap: Double)`: the number form of `softcap_logits_`, `cap` as a scalar.