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

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

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

# celuInPlace

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

`celuInPlace(self: Tensor, alpha: Double = 1.0)`: the `celu_` operator. In-place `celu`: writes the result through `self`; same formula, arguments, and error conditions as `celu()`. 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.