Home
last modified time | relevance | path

Searched refs:_six (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/data/util/
Dnest.py44 import six as _six namespace
53 return sorted(_six.iterkeys(dict_))
75 return type(instance)((key, result[key]) for key in _six.iterkeys(instance))
79 all(isinstance(f, _six.string_types) for f in instance._fields)):
129 not isinstance(seq, (list, _six.string_types)))
384 (list(_six.iterkeys(input_tree)),
385 list(_six.iterkeys(shallow_tree))))
386 input_tree = list(sorted(_six.iteritems(input_tree)))
387 shallow_tree = list(sorted(_six.iteritems(shallow_tree)))
/external/tensorflow/tensorflow/python/util/
Dnest.py36 import six as _six namespace
45 return sorted(_six.iterkeys(dict_))
71 all(isinstance(f, _six.string_types) for f in instance._fields))
92 return type(instance)((key, result[key]) for key in _six.iterkeys(instance))
218 keys1 = set(_six.iterkeys(nest1))
219 keys2 = set(_six.iterkeys(nest2))
303 for i, v in _six.iteritems(dictionary):
545 (list(_six.iterkeys(input_tree)),
546 list(_six.iterkeys(shallow_tree))))
548 input_tree = list(sorted(_six.iteritems(input_tree)))
[all …]
Dcompat.py41 import six as _six namespace
62 if isinstance(bytes_or_text, _six.text_type):
85 if isinstance(bytes_or_text, _six.text_type):
94 if _six.PY2:
141 bytes_or_text_types = (bytes, _six.text_type)
/external/tensorflow/tensorflow/contrib/tensorrt/python/
Dtrt_convert.py22 import six as _six namespace
64 if _six.PY2:
/external/tensorflow/tensorflow/python/platform/
Dflags.py26 import six as _six namespace
49 for old_name, new_name in _six.iteritems(_RENAMED_ARGUMENTS):
/external/python/cpython2/Doc/howto/
Dpyporting.rst389 .. _six: https://pypi.python.org/pypi/six
/external/python/cpython3/Doc/howto/
Dpyporting.rst446 .. _six: https://pypi.python.org/pypi/six