Skip to main content

//clika-runtime/io.clika.runtime/Ops/pow

pow

[common]
fun pow(input: Tensor, exponent: Tensor): Tensor

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(input: Tensor, exponent: Double): Tensor

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