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

【Hackathon No.89】 Remove circle import Part5 #51881

Merged
merged 11 commits into from
Mar 29, 2023

Conversation

@paddle-bot paddle-bot bot added the contributor External developers label Mar 20, 2023
@Liyulingyue Liyulingyue changed the title 测试用,无需review 【Hackathon No.89】 Remove circle import Part5 Mar 20, 2023
@Liyulingyue
Copy link
Contributor Author

@Aurelius84 见python/paddle/jit/dy2static/utils_helper.py L70,该底层逻辑引用了自身import paddle.jit.dy2static as _jst # noqa: F401 用作引用判断。此处可能不易于解耦。

@@ -31,6 +31,7 @@
import numpy as np

import paddle
import paddle.fluid as fluid # noqa: F401
Copy link
Contributor

Choose a reason for hiding this comment

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

utils 用到的只有fluid.dygraph.Layer,是在一个eval里,所以这里需要加F401,但这个import语句是不是可以删掉?我看399行已经改为了paddle.nn.Layer了

Copy link
Contributor

Choose a reason for hiding this comment

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

如果后续还有part6的PR,也可以放到下个PR里修改。

Copy link
Contributor Author

Choose a reason for hiding this comment

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

如果后续还有part6的PR,也可以放到下个PR里修改。

收到~ 该问题在下个pr中解决~

Copy link
Contributor

@Aurelius84 Aurelius84 left a comment

Choose a reason for hiding this comment

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

LGTM

@Aurelius84 Aurelius84 merged commit 9f236d3 into PaddlePaddle:develop Mar 29, 2023
@luotao1
Copy link
Contributor

luotao1 commented Mar 30, 2023

@Aurelius84 沟通确认:No.89 任务已完成

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