未验证 提交 7216d9bf 编写于 作者: N Nyakku Shigure 提交者: GitHub

[CodeStyle][isort][F401] fix some regression issues (#48936)

* [CodeStyle][isort][F401] fix some regression issues

* add import paddle to fix eval call
上级 b409e513
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
# limitations under the License. # limitations under the License.
import math import math
from abc import abstractmethod from abc import abstractmethod
from ..graph import Graph from ..graph import Graph
_PATTERNS = {} _PATTERNS = {}
......
...@@ -16,7 +16,6 @@ import unittest ...@@ -16,7 +16,6 @@ import unittest
import warnings import warnings
import paddle import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core import paddle.fluid.core as core
paddle.enable_static() paddle.enable_static()
......
...@@ -20,7 +20,6 @@ sys.path.append("..") ...@@ -20,7 +20,6 @@ sys.path.append("..")
import warnings import warnings
import paddle import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core import paddle.fluid.core as core
paddle.enable_static() paddle.enable_static()
......
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
# limitations under the License. # limitations under the License.
import warnings import warnings
import paddle
from paddle import _C_ops, _legacy_C_ops import paddle # noqa: F401
from paddle.fluid.framework import _non_static_mode from paddle.fluid.framework import _non_static_mode
from paddle.fluid.wrapped_decorator import wrap_decorator from paddle.fluid.wrapped_decorator import wrap_decorator
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册