Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.

import math

from abc import abstractmethod

from ..graph import Graph

_PATTERNS = {}
Expand Down
1 change: 0 additions & 1 deletion python/paddle/fluid/tests/unittests/test_device_guard.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
import warnings

import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core

paddle.enable_static()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
import warnings

import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core

paddle.enable_static()
Expand Down
4 changes: 2 additions & 2 deletions python/paddle/utils/inplace_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
# limitations under the License.

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.wrapped_decorator import wrap_decorator

Expand Down