aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/layers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/layers/base.py')
-rw-r--r--tensorflow/python/layers/base.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/tensorflow/python/layers/base.py b/tensorflow/python/layers/base.py
index 43e4bb0ee2..3db5e4754a 100644
--- a/tensorflow/python/layers/base.py
+++ b/tensorflow/python/layers/base.py
@@ -25,24 +25,20 @@ from __future__ import print_function
import collections
import copy
-import functools
import re
import weakref
-from six.moves import xrange # pylint: disable=redefined-builtin
import numpy as np
-import six
-
from tensorflow.python.eager import context
from tensorflow.python.estimator import util as estimator_util
-from tensorflow.python.framework import ops
from tensorflow.python.framework import dtypes
+from tensorflow.python.framework import ops
from tensorflow.python.framework import tensor_shape
from tensorflow.python.ops import array_ops
-from tensorflow.python.ops import variables as tf_variables
from tensorflow.python.ops import variable_scope as vs
-from tensorflow.python.util import nest
+from tensorflow.python.ops import variables as tf_variables
from tensorflow.python.platform import tf_logging as logging
+from tensorflow.python.util import nest
class Layer(object):