TFDS now supports the Croissant 🥐 format! Read the documentation to know more.
tfds.testing.DummyDatasetCollection
Stay organized with collections
Save and categorize content based on your preferences.
Minimal Dataset Collection builder.
Attributes | |
|---|---|
all_versions
|
Returns all versions available for the dataset collection. |
datasets
|
Returns the datasets included in the collection, ordered by version.
Users will need to overwrite this function when implementing their dataset collection. The returned dictionary needs to contain the dataset collection versions as keys, and a dictionary of the included TFDS datasets as values. Note that the above is equivalent to: |
info
|
|
Methods
get_collection
get_collection(
version: Union[None, str, tfds.core.Version ] = None
) -> Mapping[str, naming.DatasetReference]
Returns the requested versioned dataset collection.
| Args | |
|---|---|
version
|
The requested version. If no version is specified, returns the most recently added version. |
| Returns | |
|---|---|
| The requested dataset collection. |
get_latest_version
get_latest_version() -> str
Returns the latest version of this dataset collection.
list_datasets
list_datasets(
version: Union[None, str, tfds.core.Version ] = None
) -> str
Returns the datasets included in a versioned dataset collection.
Class Variables | |
|---|---|
| name |
'dummy_dataset_collection'
|