Skip to content

Conversation

@xiaoguoguo626807
Copy link
Contributor

@xiaoguoguo626807 xiaoguoguo626807 commented Dec 20, 2023

PR types

others

PR changes

others

Description

pcard-67164
完成test_while_loop_backward组网流程,执行结果有误
image

完成test_while_loop_backward2 组网流程, 当while执行一次(cond1)时结果正确,但执行后会报错
image
当while执行两次时结果有误cond2)
反向图为
image

其他修改:

  1. vjp接口改为全value 输入,以支持blockargument作为输入传递
  2. 增加increment_vjp.
  3. 反向while op 中使用while输入的变量替换为while 的argument

@paddle-bot
Copy link

paddle-bot bot commented Dec 20, 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.

changeyoung98
changeyoung98 previously approved these changes Dec 21, 2023
@xiaoguoguo626807 xiaoguoguo626807 merged commit 2a7ade7 into PaddlePaddle:develop Dec 23, 2023
@xiaoguoguo626807 xiaoguoguo626807 deleted the while_2 branch June 12, 2024 02:25
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.

3 participants