Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class TEST_API EagerTensorOperants : public TensorOperantsBase {
}

Tensor EagerTensorOperants::pow(const Tensor& x, const Scalar& y) {
return ::elementwise_pow_ad_func(x, ::full_like_ad_func(x, y));
return ::pow_ad_func(x, y);
}

"""
Expand Down