Skip to content

Commit 509b683

Browse files
authored
Merge pull request #12770 from velconia/fix_py3_missing_import
Remove unused six and missing six import
2 parents 2673798 + f4999e4 commit 509b683

File tree

3 files changed

+1
-2
lines changed

3 files changed

+1
-2
lines changed

python/paddle/dataset/mnist.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import subprocess
2525
import numpy
2626
import platform
27-
import six
2827
import tempfile
2928
from six.moves import range
3029
__all__ = ['train', 'test', 'convert']

python/paddle/fluid/tests/unittests/dist_se_resnext.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
import numpy as np
1818
import argparse
19-
import six
2019
import time
2120
import math
2221

python/paddle/fluid/transpiler/distribute_transpiler.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import random
3535
import numpy as np
3636
import collections
37+
import six
3738

3839
from .ps_dispatcher import RoundRobin, HashName, PSDispatcher
3940
from .. import core, framework

0 commit comments

Comments
 (0)