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

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

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

# elu

[common]\
fun [elu](elu.md)(input: [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)

`elu(input: Tensor, alpha: Double = 1.0, scale: Double = 1.0, inputScale: Double = 1.0)`: the `elu` operator. Exponential linear unit. Elementwise; `input_scale` feeds only the exponential's argument.