diff --git a/ivy/functional/frontends/torch/pointwise_ops.py b/ivy/functional/frontends/torch/pointwise_ops.py index a943d65997d6..c98b1112c7eb 100644 --- a/ivy/functional/frontends/torch/pointwise_ops.py +++ b/ivy/functional/frontends/torch/pointwise_ops.py @@ -411,6 +411,10 @@ def positive(input, *, out=None): @with_unsupported_dtypes({"2.2 and below": ("bool",)}, "torch") @to_ivy_arrays_and_back def pow(input, exponent, *, out=None): + # torch supports input not being a tensor as well + if not ivy.is_array(input): + input = torch_frontend.as_tensor(input).ivy_array + if not ivy.is_array(exponent): if ( any(dtype in str(input.dtype) for dtype in ["int8", "int16"])