Skip to content

Commit

Permalink
fix dtype check
Browse files Browse the repository at this point in the history
  • Loading branch information
jinyouzhi committed Aug 15, 2023
1 parent a067922 commit f5889e1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/paddle/tensor/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ def _logical_op(op_name, x, y, out=None, name=None, binary_op=True):
"float32",
"float64",
"uint16",
"complex64",
"complex128",
],
op_name,
)
Expand All @@ -68,6 +70,8 @@ def _logical_op(op_name, x, y, out=None, name=None, binary_op=True):
"float32",
"float64",
"uint16",
"complex64",
"complex128",
],
op_name,
)
Expand Down

0 comments on commit f5889e1

Please sign in to comment.