-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[CINN] Add rules for cinn_to_pd #64152
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
Conversation
|
你的PR提交成功,感谢你对开源项目的贡献! |
|
|
||
| - op : reduce_prod | ||
| args : (Tensor x, int64_t[] dim, bool keep_dim) | ||
| args : (Tensor x, int64_t[] dim, bool keep_dim, bool reduce_all) |
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.
reduce_all和dim为空是等价的,这里需要reduce_all参数吗?
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.
这里是为了对齐pd_op和cinn_op的attr,reduce_all参数不参与cinn op的InferMeta和kernel运算
* add shape_ops_fallback_to_phi_pass * fix test * add ops for cinn_to_pd * Update accuracy_check_pass.cc * fix test_sub_graph_90 bug * update --------- Co-authored-by: zyfncg <[email protected]>
PR Category
CINN
PR Types
Improvements
Description
Pcard-67164
Add rules for cinn_to_pd