-
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
[Pten] move paddle/operators/math/functors.h and compound_functors.h #39514
[Pten] move paddle/operators/math/functors.h and compound_functors.h #39514
Conversation
Thanks for your contribution! |
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.
迁移过来的时候,可以顺便把platform::float16/bfloat16/complex改为pten::dtype::float16/bfloat16/complex
@@ -17,29 +17,31 @@ limitations under the License. */ | |||
#include "paddle/fluid/operators/amp/fp16_type_traits.h" | |||
#include "paddle/fluid/operators/math.h" |
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.
这个可以在后续PR迁移过来吗?我看内容不多
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.
"paddle/fluid/operators/math.h" 目前其他同学在迁移。
@@ -17,29 +17,31 @@ limitations under the License. */ | |||
#include "paddle/fluid/operators/amp/fp16_type_traits.h" |
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.
这个里面的两个traits我觉得可以直接放pten/common/float16.h中
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.
赞成,这个类型的一些 function 和 trait 放在一起比较合理。
我后续加一个迁移 fp16_type_traits 的 PR
PR types
Others
PR changes
Others
Describe