Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CINN] add constant fold for max/min dim expr #63978

Merged
merged 1 commit into from May 9, 2024

Conversation

ZelinMa557
Copy link
Contributor

PR Category

CINN

PR Types

Bug fixes

Description

为dim expr的max/min类型增加常量折叠,使符号推导结果与inferMetaShape对齐

Copy link

paddle-bot bot commented Apr 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.

* add test
* update test_infer_sym_shape_unary_op test

Signed-off-by: ZelinMa557 <3388706467@qq.com>
Copy link
Contributor

@jiahy0825 jiahy0825 left a comment

Choose a reason for hiding this comment

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

LGTM

@zyfncg zyfncg merged commit e7cd63f into PaddlePaddle:develop May 9, 2024
31 checks passed
co63oc pushed a commit to co63oc/Paddle that referenced this pull request May 10, 2024
* add test
* update test_infer_sym_shape_unary_op test

Signed-off-by: ZelinMa557 <3388706467@qq.com>
co63oc pushed a commit to co63oc/Paddle that referenced this pull request May 11, 2024
* add test
* update test_infer_sym_shape_unary_op test

Signed-off-by: ZelinMa557 <3388706467@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor External developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants