MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / sort

Method sort

tensorflow/python/training/tracking/data_structures.py:553–555  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

551 self._storage.insert(index, obj)
552
553 def sort(self):
554 self._non_append_mutation = True
555 self._storage.sort()
556
557 def __setslice__(self, i, j, y):
558 self.__setitem__(slice(i, j), y)

Callers 15

testSortMethod · 0.95
_trace_executionMethod · 0.45
topological_sortFunction · 0.45
_show_memory_countersMethod · 0.45
_testFloatLargeInputMethod · 0.45
_testIntLargeInputMethod · 0.45
_testEnumerateNMethod · 0.45
TestFunction · 0.45
testMutableHashTableMethod · 0.45
_compareMethod · 0.45

Calls

no outgoing calls

Tested by 15

testSortMethod · 0.76
_testFloatLargeInputMethod · 0.36
_testIntLargeInputMethod · 0.36
_testEnumerateNMethod · 0.36
TestFunction · 0.36
testMutableHashTableMethod · 0.36
_compareMethod · 0.36
_validateTopKMethod · 0.36
testTop3Method · 0.36
_testLargeSortMethod · 0.36