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

add the dynamic dtype check for the argmin/argmax #27057

Merged
merged 3 commits into from
Sep 6, 2020

Conversation

wawltor
Copy link
Contributor

@wawltor wawltor commented Sep 4, 2020

PR types

Performance optimization

PR changes

APIs

Describe

为了防止用户在使用argmin/argmax的时候出现类型错误,因此加强类型错误检查;
同时因为动态图不进行dtype check,因此在C++ kernel中进行check。

@wawltor wawltor changed the title Fix default dtype add the dynamic dtype check for the argmin/argmax Sep 5, 2020
Copy link
Contributor

@FlyingQianMM FlyingQianMM left a comment

Choose a reason for hiding this comment

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

LGTM

@wawltor wawltor merged commit 8857e39 into PaddlePaddle:develop Sep 6, 2020
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.

None yet

2 participants