MCPcopy
hub / github.com/mosaicml/composer / dataspec

Method dataspec

tests/trainer/test_dataspec.py:20–22  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18
19 @pytest.fixture
20 def dataspec(self):
21 dataloader = DataLoader(RandomClassificationDataset())
22 return DataSpec(dataloader=dataloader)
23
24 # yapf: disable
25 @pytest.mark.parametrize(

Callers

nothing calls this directly

Calls 2

DataSpecClass · 0.90

Tested by

no test coverage detected