Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AMP] Add bfloat16 and float16 tests for compare ops #51978

Merged
merged 3 commits into from
Mar 23, 2023
Merged

[AMP] Add bfloat16 and float16 tests for compare ops #51978

merged 3 commits into from
Mar 23, 2023

Conversation

yeliang2258
Copy link
Contributor

@yeliang2258 yeliang2258 commented Mar 22, 2023

PR types

Performance optimization

PR changes

OPs

Describe

Add bfloat16 and float16 tests for compare ops, include equal, greater_equal, greater_than, less_equal, less_than and not_equal

@@ -736,13 +736,13 @@ def not_equal(x, y, name=None):
check_variable_and_dtype(
x,
"x",
["bool", "float32", "float64", "int32", "int64"],
["bool", "float16", "float32", "float64", "int32", "int64"],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

加一下uint16

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ZzSean ZzSean merged commit a7397e0 into PaddlePaddle:develop Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants