-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
[Phi]Move bincount OP to phi #39947
[Phi]Move bincount OP to phi #39947
Conversation
Thanks for your contribution! |
|
||
if (has_weights) { | ||
const T* weights_data = weights->data<T>(); | ||
if (weights->dtype() == DataType::INT32) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
看这里原来的判断逻辑是dtype是否等于FP32
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
是的应该判断FLOAT32,已经修改,感谢
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个有op-benchmark脚本吗
似乎是没有,要先添加脚本再合入代码是吗 |
按现在的规范得先加一下benchmark脚本了 |
PR types
Others
PR changes
Others
Describe
[Phi]Move bincount OP to phi
已添加benchmark脚本: PaddlePaddle/benchmark#1328