Element-wise scalar-base reverse power — returns with a fully wired autograd node.
Math
\frac{\partial y_i}{\partial x_i} = \ln(\text{base}) \cdot y_i$$ **Shape** Output shape equals input shape (elementwise). **See Also** `pow_scalar_op`, `RPowScalarBackward`.Parameters
basedoubleScalar base (must be positive for a real-valued gradient).
aTensorImplPtrInput tensor — the exponent (promoted to FP32 by the op schema).
Returns
TensorImplPtrOutput tensor with the same shape as a; gradient is .
Raises
Gradient is undefined / non-real for ``base <= 0``; callers shouldguard the base if they intend to backpropagate.