MCPcopy Create free account
hub / github.com/geekcomputers/Python / __init__

Method __init__

ML/src/python/neuralforge/data/dataset.py:156–162  ·  view source on GitHub ↗
(
        self,
        dataset: Dataset,
        scales: List[int] = [224, 256, 288, 320]
    )

Source from the content-addressed store, hash-verified

154
155class MultiScaleDataset(Dataset):
156 def __init__(
157 self,
158 dataset: Dataset,
159 scales: List[int] = [224, 256, 288, 320]
160 ):
161 self.dataset = dataset
162 self.scales = scales
163
164 def __len__(self) -> int:
165 return len(self.dataset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected