MCPcopy Create free account
hub / github.com/MegaScenes/nvs / __init__

Method __init__

ldm/data/dummy.py:7–9  ·  view source on GitHub ↗
(self, length, size)

Source from the content-addressed store, hash-verified

5
6class DummyData(Dataset):
7 def __init__(self, length, size):
8 self.length = length
9 self.size = size
10
11 def __len__(self):
12 return self.length

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected