Skip to main content

//clika-runtime/io.clika.runtime/Ops/softplusInPlace

softplusInPlace

[common]
fun softplusInPlace(self: Tensor, beta: Double = 1.0, threshold: Double = 20.0): Tensor

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.