Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
140
class
PriorityQueue:
Callers
1
calib_block
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected