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

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

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

# powInPlace

[common]\
fun [powInPlace](powInPlace.md)(self: [Tensor](../Tensor/index.md), exponent: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`powInPlace(self: Tensor, exponent: Tensor)`: the `pow_` operator. In-place `pow`: writes the powers through `x`. Writes through `self` and returns it, so calls chain.

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

`powInPlace(self: Tensor, exponent: Double)`: the number form of `pow_`, `exponent` as a scalar.