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

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

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

# leakyRelu

[common]\
fun [leakyRelu](leakyRelu.md)(input: [Tensor](../Tensor/index.md), negativeSlope: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 0.01): [Tensor](../Tensor/index.md)

`leakyRelu(input: Tensor, negativeSlope: Double = 0.01)`: the `leaky_relu` operator. ReLU with a small slope on the negative side.