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

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

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

# exponentialInPlace

[common]\
fun [exponentialInPlace](exponentialInPlace.md)(self: [Tensor](../Tensor/index.md), lambd: [Double](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-double/index.html) = 1.0, device: [Placement](../Placement/index.md)? = null): [Tensor](../Tensor/index.md)

`exponentialInPlace(self: Tensor, lambd: Double = 1.0, device: Placement? = null)`: the `exponential_` operator. In-place exponential fill with rate `lambd`: overwrites `self` with draws from `p(x) = lambd * exp(-lambd * x)` (x >= 0) and returns it 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.