Skip to content

Commit b5c90ba

Browse files
lezcanopytorchmergebot
authored andcommitted
[dynamo] Fix ndarray.__pow__ (pytorch#107746)
As per title. Tests in the next PR Pull Request resolved: pytorch#107746 Approved by: https://github.com/ezyang ghstack dependencies: pytorch#107687, pytorch#107688, pytorch#107710, pytorch#107711
1 parent 2b6249e commit b5c90ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/_numpy/_ndarray.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def f(*args, **kwargs):
146146
"mul": "multiply",
147147
"truediv": "divide",
148148
"floordiv": "floor_divide",
149-
"pow": "float_power",
149+
"pow": "power",
150150
"mod": "remainder",
151151
"and": "bitwise_and",
152152
"or": "bitwise_or",

0 commit comments

Comments
 (0)