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

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

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

# pow

[common]\
fun [pow](pow.md)(input: [Tensor](../Tensor/index.md), exponent: [Tensor](../Tensor/index.md)): [Tensor](../Tensor/index.md)

`pow(input: Tensor, exponent: Tensor)`: the `pow` operator. Raises `input` to `exponent` elementwise: . Broadcasts and promotes as `add`; a scalar `exponent` keeps its weak kind (an integer exponent with an integer base stays integral).

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

`pow(input: Tensor, exponent: Double)`: the number form of `pow`, `exponent` as a scalar.