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

[Dynamic shape] Add HasShapeOrDataForValue code for shapeAnalysis #60644

Merged
merged 6 commits into from
Jan 16, 2024

Conversation

zhangbopd
Copy link
Contributor

@zhangbopd zhangbopd commented Jan 9, 2024

PR types

Others

PR changes

Others

Description

Pcard-67164

提供 HasShapeOrDataForValue 接口

Copy link

paddle-bot bot commented Jan 9, 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.

@zhangbopd zhangbopd force-pushed the clean branch 2 times, most recently from d1a4fe4 to ee57e81 Compare January 10, 2024 06:57
@zhangbopd zhangbopd marked this pull request as draft January 10, 2024 07:32
@zhangbopd zhangbopd marked this pull request as ready for review January 10, 2024 08:09
@zhangbopd zhangbopd force-pushed the clean branch 2 times, most recently from ee57e81 to 5ad04bd Compare January 10, 2024 09:13
@zhangbopd zhangbopd changed the title Remove redundant code for shapeAnalysis and shapedTypeInterface [Dynamic shape] Add HasShapeOrDataForValue code for shapeAnalysis Jan 12, 2024
jiahy0825
jiahy0825 previously approved these changes Jan 15, 2024
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

@zhangbopd zhangbopd marked this pull request as draft January 15, 2024 10:07
@zhangbopd zhangbopd marked this pull request as ready for review January 15, 2024 10:07
@zhangbopd zhangbopd closed this Jan 15, 2024
@zhangbopd zhangbopd reopened this Jan 15, 2024
@zhangbopd zhangbopd marked this pull request as draft January 15, 2024 10:08
@zhangbopd zhangbopd marked this pull request as ready for review January 15, 2024 10:09
@zhangbopd zhangbopd requested a review from jiahy0825 January 16, 2024 02:41
Comment on lines -153 to -154
// TODO(lanxianghit): check this when all the Ops support InferSymbolicShape
// CHECK(value_to_shape_or_data_.find(val) != value_to_shape_or_data_.end());
Copy link
Contributor

Choose a reason for hiding this comment

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

后续有在 Get 接口里添加 CHECK 的计划吗?这个 TODO 是否需要去掉?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

我理解这里提供接口后,不需要 Get 接口里添加 CHECK 了,我同步给lanxianghit确认一下~

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

@zhangbopd zhangbopd merged commit cbdc6d2 into PaddlePaddle:develop Jan 16, 2024
29 checks passed
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.

2 participants