ClikaRT::ops::pow
function
pow()
Tensor pow(Tensor a, ScalarOrTensor exponent)
Raises a to exponent elementwise: . Broadcasts and promotes as add; a scalar exponent keeps its weak kind (an integer exponent with an integer base stays integral).
Returns: the broadcast-shaped powers at the promoted dtype.
Throws
ClikaRT::Error: (INVALID_ARGUMENT) when the operand shapes are not broadcast-compatible.
Declared in ClikaRT/compute/ops.h, line 1522