MCPcopy Create free account
hub / github.com/tensorflow/datasets / dummy_mnist

Function dummy_mnist

tensorflow_datasets/conftest.py:131–137  ·  view source on GitHub ↗

Dummy mnist dataset builder pre-generated.

(
    tmp_path_factory: pytest.TempPathFactory,
)

Source from the content-addressed store, hash-verified

129
130@pytest.fixture(scope='session')
131def dummy_mnist(
132 tmp_path_factory: pytest.TempPathFactory,
133) -> dataset_builder.DatasetBuilder:
134 """Dummy mnist dataset builder pre-generated."""
135 from tensorflow_datasets import testing # pylint: disable=g-import-not-at-top
136
137 return _make_dataset(tmp_path_factory, testing.DummyMnist)
138
139
140@pytest.fixture(scope='session')

Callers

nothing calls this directly

Calls 1

_make_datasetFunction · 0.85

Tested by

no test coverage detected