Home
last modified time | relevance | path

Searched refs:sort_by_key (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/contrib/distribute/python/
Dcombinations.py235 sort_by_key = lambda k: k[0] function
236 kwargs = OrderedDict(sorted(kwargs.items(), key=sort_by_key))
248 OrderedDict(sorted(list(combined.items()) + [(key, v)], key=sort_by_key))
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py832 sort_by_key = lambda k: k[0][0] function
833 kwargs = OrderedDict(sorted(kwargs.items(), key=sort_by_key))
845 OrderedDict(sorted(list(combined.items()) + [(key, v)], key=sort_by_key))