MCPcopy
hub / github.com/THUDM/CogDL / shuffle

Method shuffle

cogdl/data/sampler.py:59–60  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

57 return data[0]
58
59 def shuffle(self):
60 self.dataset.shuffle()
61
62class NeighborSamplerDataset(torch.utils.data.Dataset):
63 def __init__(self, dataset, sizes: List[int], batch_size: int, mask=None):

Callers

nothing calls this directly

Calls 1

shuffleMethod · 0.45

Tested by

no test coverage detected