MCPcopy Create free account
hub / github.com/DSL-Lab/GRBM / __init__

Method __init__

gmm.py:9–10  ·  view source on GitHub ↗
(self, samples)

Source from the content-addressed store, hash-verified

7class GMMDataset(torch.utils.data.Dataset):
8
9 def __init__(self, samples):
10 self.samples = samples
11
12 def __len__(self):
13 return self.samples.shape[0]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected