Skip to content

Conversation

zhangboSJTU
Copy link
Contributor

@zhangboSJTU zhangboSJTU 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.

@zhangboSJTU zhangboSJTU force-pushed the clean branch 2 times, most recently from d1a4fe4 to ee57e81 Compare January 10, 2024 06:57
@zhangboSJTU zhangboSJTU marked this pull request as draft January 10, 2024 07:32
@zhangboSJTU zhangboSJTU marked this pull request as ready for review January 10, 2024 08:09
@zhangboSJTU zhangboSJTU force-pushed the clean branch 2 times, most recently from ee57e81 to 5ad04bd Compare January 10, 2024 09:13
@zhangboSJTU zhangboSJTU 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

@zhangboSJTU zhangboSJTU marked this pull request as draft January 15, 2024 10:07
@zhangboSJTU zhangboSJTU marked this pull request as ready for review January 15, 2024 10:07
@zhangboSJTU zhangboSJTU reopened this Jan 15, 2024
@zhangboSJTU zhangboSJTU marked this pull request as draft January 15, 2024 10:08
@zhangboSJTU zhangboSJTU marked this pull request as ready for review January 15, 2024 10:09
@zhangboSJTU zhangboSJTU 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

@zhangboSJTU zhangboSJTU merged commit cbdc6d2 into PaddlePaddle:develop Jan 16, 2024
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