-
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
Support selected rows new ir #54987
Support selected rows new ir #54987
Conversation
你的PR提交成功,感谢你对开源项目的贡献! |
❌ The PR is not created using PR's template. You can refer to this Demo. |
… support_selected_rows_new_ir
…e/Paddle into support_selected_rows_new_ir
951e173
to
6bf20a2
Compare
… support_selected_rows_new_ir
… support_selected_rows_new_ir
… support_selected_rows_new_ir
… support_selected_rows_new_ir
… support_selected_rows_new_ir
… support_selected_rows_new_ir
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.
LGTM for yaml
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.
LGTM
单测删除
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.
LGTM overall
return storage()->selected_rows_type_.lod(); | ||
} | ||
|
||
const size_t& AllocatedSelectedRowsType::offset() const { |
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.
对于size_t、int、double这种数据类型,直接返回copy就可以,在函数里也是直接传值的
const phi::DataLayout &layout, | ||
const phi::LoD &lod, | ||
size_t offset) { | ||
dialect::SelectedRowsType dense_tensor_type = |
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.
dialect::SelectedRowsType dense_tensor_type = | |
dialect::SelectedRowsType type = |
这里copy后没有改过来吧?
* refine program translator * fix warning: not override * fix bug * merge new modifications * modify by reviews * resolve conflicts * resolve conflicts * fix * fix * update * support selected rows * update * add selectrows * fix bug * add ut * refine code * refien code * update * update * support selected rows * support selected rows * support dense tensor * remove useless code * polish code * remote standalone executor test --------- Co-authored-by: kangguangli <kangguangli@hotmail.com> Co-authored-by: zhangbo9674 <zhangbo54@baidu.com>
* refine program translator * fix warning: not override * fix bug * merge new modifications * modify by reviews * resolve conflicts * resolve conflicts * fix * fix * update * support selected rows * update * add selectrows * fix bug * add ut * refine code * refien code * update * update * support selected rows * support selected rows * support dense tensor * remove useless code * polish code * remote standalone executor test --------- Co-authored-by: kangguangli <kangguangli@hotmail.com> Co-authored-by: zhangbo9674 <zhangbo54@baidu.com>
PR types
Bug fixes
PR changes
Others
Description
新IR 支持selected rows
Others
Pcard-67164