Home
last modified time | relevance | path

Searched refs:_collections (Results 1 – 25 of 73) sorted by relevance

123

/external/tensorflow/tensorflow/python/util/
Dnest.py37 import collections as _collections namespace
157 if isinstance(iterable, _collections.Mapping):
328 if not isinstance(dictionary, (dict, _collections.Mapping)):
608 not any([isinstance(shallow_tree, _collections.Sequence),
609 isinstance(shallow_tree, _collections.Mapping),
679 elif not (isinstance(shallow_tree, _collections.Mapping)
680 and isinstance(input_tree, _collections.Mapping)):
690 if isinstance(shallow_tree, _collections.Mapping):
1178 _pywrap_tensorflow.RegisterType("Mapping", _collections.Mapping)
1179 _pywrap_tensorflow.RegisterType("Sequence", _collections.Sequence)
/external/python/cpython3/Lib/
Dpprint.py37 import collections as _collections namespace
205 _dispatch[_collections.OrderedDict.__repr__] = _pprint_ordered_dict
418 _dispatch[_collections.defaultdict.__repr__] = _pprint_default_dict
434 _dispatch[_collections.Counter.__repr__] = _pprint_counter
451 _dispatch[_collections.ChainMap.__repr__] = _pprint_chain_map
471 _dispatch[_collections.deque.__repr__] = _pprint_deque
476 _dispatch[_collections.UserDict.__repr__] = _pprint_user_dict
481 _dispatch[_collections.UserList.__repr__] = _pprint_user_list
486 _dispatch[_collections.UserString.__repr__] = _pprint_user_string
Dthreading.py12 from _collections import deque as _deque
Denum.py6 from _collections import OrderedDict
/external/cldr/tools/java/org/unicode/cldr/tool/
DChartLanguageGroups.java39 Builder<String> _collections = ImmutableSet.<String> builder();
44 _collections.add(e.getKey()); in e.getKey()
47 COLLECTIONS = _collections.build();
DGenerateLanguageContainment.java86 Builder<String> _collections = ImmutableSet.<String> builder();
91 _collections.add(e.getKey()); in e.getKey()
94 COLLECTIONS = _collections.build();
/external/tensorflow/tensorflow/contrib/copy_graph/python/util/
Dcopy_elements.py72 for name, collection in org_instance.graph._collections.items():
154 for name, collection in org_instance.graph._collections.items():
/external/tensorflow/tensorflow/python/data/util/
Dnest.py38 import collections as _collections namespace
74 isinstance(instance._fields, _collections.Sequence) and
/external/kmod/libkmod/python/kmod/
Dmodule.pyx17 import collections as _collections namespace
85 info = _collections.OrderedDict()
/external/tensorflow/tensorflow/python/ops/
Dcond_v2.py72 … true_name, collections=ops.get_default_graph()._collections), # pylint: disable=protected-access
79 … false_name, collections=ops.get_default_graph()._collections), # pylint: disable=protected-access
613 name, collections=ops.get_default_graph()._collections) # pylint: disable=protected-access
Dwhile_v2.py128 … cond_name, collections=ops.get_default_graph()._collections), # pylint: disable=protected-access
172 … body_name, collections=ops.get_default_graph()._collections), # pylint: disable=protected-access
/external/tensorflow/tensorflow/python/framework/
Dfunc_graph.py221 self._collections[collection_name] = graph.get_collection(
224 self._collections[collection_name] = graph.get_collection_ref(
227 self._collections = collections
Dops.py3020 self._collections = {}
3918 return list(self._collections)
3933 if name not in self._collections:
3934 self._collections[name] = [value]
3936 self._collections[name].append(value)
3978 coll_list = self._collections.get(name, None)
3981 self._collections[name] = coll_list
4007 collection = self._collections.get(name, None)
4023 return [x for x in self._collections if isinstance(x, six.string_types)]
4034 if name in self._collections:
[all …]
Dfunction.py883 func_graph._collections = collections_ref
/external/python/cpython3/Lib/collections/
D__init__.py30 from _collections import deque
37 from _collections import defaultdict
304 from _collections import OrderedDict
493 from _collections import _count_elements
/external/tensorflow/tensorflow/lite/python/
Dop_hint.py72 import collections as _collections namespace
726 func_calls = _collections.defaultdict(_LiteFuncCall)
/external/tensorflow/tensorflow/contrib/opt/python/training/
Delastic_average_optimizer.py301 for _ in range(len(g._collections[ops.GraphKeys.GLOBAL_VARIABLES])):
/external/python/cpython2/Lib/
Dcollections.py20 from _collections import deque, defaultdict
Dargparse.py85 import collections as _collections namespace
1047 self._name_parser_map = _collections.OrderedDict()
/external/python/cpython2/
DAndroid.bp298 "py2-c-module-_collections",
450 name: "py2-c-module-_collections",
/external/python/cpython3/Doc/library/
Dcollections.abc.rst28 .. _collections-abstract-base-classes:
/external/python/cpython2/Misc/NEWS.d/
D2.6rc1.rst362 Fixed two format strings in the _collections module.
/external/python/cpython3/Modules/
DSetup.dist116 _collections _collectionsmodule.c # Container types
/external/python/cpython2/Modules/
DSetup.dist179 #_collections _collectionsmodule.c # Container types
/external/python/cpython2/Doc/library/
Dcollections.rst890 .. _collections-abstract-base-classes:

123