Skip to content

Conversation

@winter-wang
Copy link
Contributor

@winter-wang winter-wang commented Oct 13, 2023

PR types

Performance optimization

PR changes

Others

Description

  • 调整了pd_op.while的实现。
    调整之前的pd_op.while包含两个block: cond_block和body_body_block。 它的语意为:
    ···cxx
    output = input;
    while(cond(output)) {
    output = body(output)}
    ···
    新的pd_op.while只包含一个body_block.包含两个输入: cond和inputs。它的语意为:
    ···cxx
    outputs = intpus;
    while(cond) {
    cond, outputs = body(outputs)}
    ···

  • 支持block_argument的打印。

Other

Pcard-67164

@winter-wang winter-wang force-pushed the ir_develop branch 5 times, most recently from efe0355 to e26da43 Compare October 15, 2023 07:11
@winter-wang winter-wang merged commit 2f5cfcd into PaddlePaddle:develop Oct 16, 2023
jiahy0825 pushed a commit to jiahy0825/Paddle that referenced this pull request Oct 16, 2023
@paddle-bot
Copy link

paddle-bot bot commented Oct 16, 2023

你的PR提交成功,感谢你对开源项目的贡献!
请关注后续CI自动化测试结果,详情请参考Paddle-CI手册
Your PR has been submitted. Thanks for your contribution!
Please wait for the result of CI firstly. See Paddle CI Manual for details.

danleifeng pushed a commit to danleifeng/Paddle that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants