Skip to content

2nd-batch-54-代码获取参数逻辑错误#75469

Merged
luotao1 merged 1 commit intoPaddlePaddle:developfrom
ApricityXX:2nd_batch_54
Sep 25, 2025
Merged

2nd-batch-54-代码获取参数逻辑错误#75469
luotao1 merged 1 commit intoPaddlePaddle:developfrom
ApricityXX:2nd_batch_54

Conversation

@ApricityXX
Copy link
Contributor

@ApricityXX ApricityXX commented Sep 23, 2025

PR Category

Execute Infrastructure

PR Types

Bug fixes

Description

第二批-编号54(共1处)
代码在 Kernel 类中定义了 OutputAt 方法,根据索引 idx 获取当前 kernel 的输出参数定义。它错误地从 input_defs()(输入参数定义)中获取,而不是 output_defs()(输出参数定义)。将 OutputAt 方法中返回的 args_def().input_defs()[idx] 修改为 args_def().output_defs()[idx]

@paddle-bot
Copy link

paddle-bot bot commented Sep 23, 2025

你的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.

@luotao1 luotao1 merged commit 3a1d657 into PaddlePaddle:develop Sep 25, 2025
85 of 88 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants