Skip to content

Conversation

@ooooo-create
Copy link
Contributor

@ooooo-create ooooo-create commented Jun 4, 2025

PR Category

Execute Infrastructure

PR Types

Improvements

Description

统一

  1. expand_as,y 是 option 类型,有 y 的时候就使用 y 的真实 shape
  2. expand_as_grad,使用 out_grad 的真实 shape(那么反向的 target_shape 看着就多余了,可以删?

统一起来对 expand_as 的分布式切分推导规则会更好理解和处理

@paddle-bot
Copy link

paddle-bot bot commented Jun 4, 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.

@paddle-bot paddle-bot bot added the contributor External developers label Jun 4, 2025
@paddle-ci-bot
Copy link

paddle-ci-bot bot commented Jun 12, 2025

Sorry to inform you that 0ba7373's CIs have passed for more than 7 days. To prevent PR conflicts, you need to re-run all CIs manually.

Copy link
Contributor

@From00 From00 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@luotao1 luotao1 merged commit 23748bf into PaddlePaddle:develop Jun 13, 2025
49 of 50 checks passed
DrRyanHuang pushed a commit to DrRyanHuang/Paddle that referenced this pull request Jun 14, 2025
@ooooo-create ooooo-create deleted the refine_expand_as branch September 29, 2025 09:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor External developers HappyOpenSource Pro 进阶版快乐开源活动,更具挑战性的任务

4 participants