MCPcopy
hub / github.com/OpenPPL/ppq / pop

Method pop

ppq/quantization/algorithm/training.py:135–137  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

133 self._num_of_batchs = len(data)
134
135 def pop(self):
136 idx = random.randint(0, self._num_of_batchs - 1)
137 return self._data[idx]
138
139
140class PriorityQueue:

Callers 1

calib_blockMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected