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

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

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

# eluInPlace

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

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