In-place elementwise exponentiation: writes back into a.
Math
See Also
pow_op — out-of-place counterpart.
Parameters
aTensorImplPtrBase / in-place target. Must be non-null and must not share storage with a view.
bTensorImplPtrExponent. Must be non-null and broadcastable into
a->shape(). Domain restrictions (e.g. , negative base with fractional exponent) follow the backend's convention.Returns
TensorImplPtrThe same pointer as a, now holding the powered storage.
Raises
ShapeMismatchIf the broadcast output would change
a's shape.RuntimeErrorIf
a shares storage with a view.