-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
[PIR] Refine if translate #58250
[PIR] Refine if translate #58250
Conversation
你的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.
LGTM overall
uint64_t start_id, | ||
uint64_t end_id, | ||
TranslationContext* translation_ctx, | ||
pir::Block* dest_block, |
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.
pir::Block* dest_block, | |
pir::Block* dst_block, |
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.
dst 与 src 是一组对应
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完善
pir::Block* dest_block, | ||
bool for_cond_block = false, | ||
std::vector<std::string> cond_sub_block_outputs = {}, | ||
std::vector<::paddle::framework::OpDesc*> cond_init_ops = {}); |
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.
这里两个默认参数是不是也可以 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.
可以的,单独提 pr 完善
* refine * fix * fix * fix * fix * fix * add ut * fix * fix
* refine * fix * fix * fix * fix * fix * add ut * fix * fix
* refine * fix * fix * fix * fix * fix * add ut * fix * fix
PR types
Others
PR changes
Others
Description
优化 if 翻译
Pcard-67164