Skip to content

Commit 840d3c3

Browse files
internal developeraostrowski-hbn
internal developer
authored andcommitted
Fix typo for opinfo adaptations (#4)
1 parent b6dc5cc commit 840d3c3

File tree

1 file changed

+1
-1
lines changed
  • torch/testing/_internal/opinfo

1 file changed

+1
-1
lines changed

torch/testing/_internal/opinfo/core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1430,7 +1430,7 @@ def supported_backward_dtypes(self, device_type):
14301430
else self.backward_dtypesIfCUDA
14311431
)
14321432
elif device_type == "hpu":
1433-
backward_dtype = self.backward_dtypesIfHpu
1433+
backward_dtypes = self.backward_dtypesIfHpu
14341434
else:
14351435
backward_dtypes = self.backward_dtypes
14361436

0 commit comments

Comments
 (0)