MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / __init__

Method __init__

tasks/base_task.py:31–36  ·  view source on GitHub ↗
(self, shuffle)

Source from the content-addressed store, hash-verified

29
30class BaseDataset(torch.utils.data.Dataset):
31 def __init__(self, shuffle):
32 super().__init__()
33 self.hparams = hparams
34 self.shuffle = shuffle
35 self.sort_by_len = hparams['sort_by_len']
36 self.sizes = None
37
38 @property
39 def _sizes(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected