MCPcopy Create free account
hub / github.com/MiniMax-AI/VTP / __init__

Method __init__

tools/test_linear_probing_hf.py:195–199  ·  view source on GitHub ↗
(self, sampler: Sampler, shuffle: bool = True, seed: int = 0)

Source from the content-addressed store, hash-verified

193 """Wraps another sampler to yield an infinite stream of indices."""
194
195 def __init__(self, sampler: Sampler, shuffle: bool = True, seed: int = 0):
196 self.sampler = sampler
197 self.shuffle = shuffle
198 self.seed = seed
199 self.epoch = 0
200
201 def __iter__(self):
202 while True:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected