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

[CodeStyle][F401] remove unused imports in fluid/tests/test_*, book (#46716)

上级 9f83d3c6
......@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from paddle.fluid.layers.device import get_places
import unittest
import paddle.fluid as fluid
import paddle
......
......@@ -21,7 +21,6 @@ import numpy
import unittest
import os
import tempfile
import numpy as np
paddle.enable_static()
......
......@@ -13,7 +13,6 @@
# limitations under the License.
import contextlib
import math
import numpy as np
import os
import time
......
......@@ -22,7 +22,6 @@ import numpy
import paddle
import paddle.fluid as fluid
from paddle.fluid.layers.device import get_places
paddle.enable_static()
......
......@@ -15,9 +15,7 @@
import numpy as np
import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core
import paddle.fluid.framework as framework
import paddle.fluid.layers as layers
import contextlib
import math
import sys
......
......@@ -14,7 +14,6 @@
import paddle
import paddle.fluid as fluid
from paddle.fluid.layers.device import get_places
import unittest
import os
import numpy as np
......
......@@ -19,13 +19,11 @@ import contextlib
import numpy as np
import paddle
import paddle.fluid as fluid
import paddle.fluid.core as core
import paddle.fluid.framework as framework
import paddle.fluid.layers as layers
from paddle.fluid.executor import Executor
from paddle.fluid.contrib.decoder.beam_search_decoder import *
import unittest
import os
paddle.enable_static()
......
......@@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import numpy as np
import paddle
import paddle.fluid as fluid
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册