diff options
author | Yifei Feng <yifeif@google.com> | 2018-02-06 22:05:26 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-02-06 22:09:14 -0800 |
commit | b9018073ec1afc7dfc302ab171db8bf5b177c2dd (patch) | |
tree | 2e5944c350e84f01b8062e010fad94f5c5345d47 /tensorflow/contrib/sparsemax | |
parent | 2ec89055c17cd17dc1b1259d9eb76d1177c9b0e8 (diff) |
Add pylint check for W0611 unused-import in ci_sanity.sh and fix existing pylint errors.
PiperOrigin-RevId: 184790548
Diffstat (limited to 'tensorflow/contrib/sparsemax')
-rw-r--r-- | tensorflow/contrib/sparsemax/python/ops/sparsemax.py | 1 | ||||
-rw-r--r-- | tensorflow/contrib/sparsemax/python/ops/sparsemax_loss.py | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/tensorflow/contrib/sparsemax/python/ops/sparsemax.py b/tensorflow/contrib/sparsemax/python/ops/sparsemax.py index 73a5cf1e92..890ca20f4c 100644 --- a/tensorflow/contrib/sparsemax/python/ops/sparsemax.py +++ b/tensorflow/contrib/sparsemax/python/ops/sparsemax.py @@ -23,7 +23,6 @@ from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import math_ops from tensorflow.python.ops import nn -from tensorflow.python.platform import resource_loader __all__ = ["sparsemax"] diff --git a/tensorflow/contrib/sparsemax/python/ops/sparsemax_loss.py b/tensorflow/contrib/sparsemax/python/ops/sparsemax_loss.py index ba18f89e16..582d1e6136 100644 --- a/tensorflow/contrib/sparsemax/python/ops/sparsemax_loss.py +++ b/tensorflow/contrib/sparsemax/python/ops/sparsemax_loss.py @@ -18,8 +18,6 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function -from tensorflow.contrib.util import loader -from tensorflow.python.platform import resource_loader from tensorflow.python.framework import ops from tensorflow.python.ops import array_ops from tensorflow.python.ops import math_ops |