Unverified Commit d90d5280 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #3206 from cclauss/from-six.moves-import-xrange

from six.moves import xrange (en masse)
parents 6fc65ee6 848cc592
......@@ -94,6 +94,7 @@ import threading
import google3
import numpy as np
from six.moves import xrange
import tensorflow as tf
tf.app.flags.DEFINE_string('train_directory', '/tmp/',
......
......@@ -51,6 +51,7 @@ from __future__ import print_function
import os
import os.path
import sys
from six.moves import xrange
if __name__ == '__main__':
......
......@@ -85,6 +85,7 @@ import glob
import os.path
import sys
import xml.etree.ElementTree as ET
from six.moves import xrange
class BoundingBox(object):
......
......@@ -18,7 +18,7 @@ from __future__ import division
from __future__ import print_function
import numpy as np
from six.moves import xrange
import tensorflow as tf
layers = tf.contrib.layers
......
......@@ -19,6 +19,7 @@ from __future__ import print_function
from math import log
from six.moves import xrange
import tensorflow as tf
slim = tf.contrib.slim
......
......@@ -18,6 +18,7 @@ from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from six.moves import xrange
import tensorflow as tf
from nets import dcgan
......
......@@ -25,6 +25,7 @@ import collections
import re
import errorcounter as ec
from six.moves import xrange
import tensorflow as tf
# Named tuple Part describes a part of a multi (1 or more) part code that
......
......@@ -24,6 +24,7 @@ tensor_dim: gets a shape dimension as a constant integer if known otherwise a
runtime usable tensor value.
tensor_shape: returns the full shape of a tensor as the tensor_dim.
"""
from six.moves import xrange
import tensorflow as tf
......
......@@ -23,6 +23,7 @@ from string import maketrans
import nn_ops
import shapes
from six.moves import xrange
import tensorflow as tf
import tensorflow.contrib.slim as slim
......
......@@ -20,6 +20,7 @@ import os.path
import numpy as np
from six.moves import xrange
import tensorflow as tf
from google.protobuf import text_format
......
......@@ -22,6 +22,7 @@ import abc
import numpy as np
from six.moves import xrange
import tensorflow as tf
from tensorflow.python.ops import nn
from tensorflow.python.ops import tensor_array_ops as ta
......
......@@ -15,6 +15,7 @@
"""Utils for building DRAGNN specs."""
from six.moves import xrange
import tensorflow as tf
from dragnn.protos import spec_pb2
......
......@@ -23,6 +23,7 @@ import random
import tensorflow as tf
from six.moves import xrange
from tensorflow.core.framework.summary_pb2 import Summary
from tensorflow.python.framework import errors
from tensorflow.python.platform import gfile
......
......@@ -22,6 +22,7 @@ from collections import defaultdict
import os
import numpy as np
from sklearn.metrics.pairwise import pairwise_distances
from six.moves import xrange
import data_providers
from estimators.get_estimator import get_estimator
from utils import util
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment