Skip to content

Conversation

NKNaN
Copy link
Contributor

@NKNaN NKNaN commented May 29, 2024

PR Category

User Experience

PR Types

Improvements

Description

PaddlePaddle/community#833 (review)

问题:
image
根据报错信息应该是需要调整unary.cc中的:
static phi::DDim ValidateShape(const std::vector<int64_t> shape, const phi::DDim& in_dims)

如果flatten支持了shape有零的情况,stack也需要支持shape有零的情况

Copy link

paddle-bot bot commented May 29, 2024

你的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 f0b0060 into PaddlePaddle:develop May 30, 2024
@luotao1
Copy link
Contributor

luotao1 commented May 30, 2024

stack也需要支持shape有零的情况

那是准备后续改?

@NKNaN
Copy link
Contributor Author

NKNaN commented May 30, 2024

那是准备后续改?

是的

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.

2 participants