tfds.dataset_collection
Stay organized with collections
Save and categorize content based on your preferences.
Instantiates a DatasetCollectionLoader.
tfds.dataset_collection(
name: str, loader_kwargs: Optional[Dict[str, Any]] = None
) -> DatasetCollectionLoader
Used in the notebooks
Args |
name
|
The name of the dataset collection to load.
|
loader_kwargs
|
dict (optional), keyword arguments to be passed to the
tfds.load function. Refer to tfds.load documentation for a
comperehensive overview of the different loading options.
|
Returns |
A DatasetCollectionLoader object.
|
Raises |
DatasetCollectionNotFoundError if dataset collection not found in registry.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfds.dataset_collection\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.3/tensorflow_datasets/core/load.py#L431-L474) |\n\nInstantiates a DatasetCollectionLoader. \n\n tfds.dataset_collection(\n name: str, loader_kwargs: Optional[Dict[str, Any]] = None\n ) -\u003e DatasetCollectionLoader\n\n### Used in the notebooks\n\n| Used in the tutorials |\n|----------------------------------------------------------------------------------|\n| - [Dataset Collections](https://www.tensorflow.org/datasets/dataset_collections) |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|-----------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `name` | The name of the dataset collection to load. |\n| `loader_kwargs` | `dict` (optional), keyword arguments to be passed to the [`tfds.load`](../tfds/load) function. Refer to [`tfds.load`](../tfds/load) documentation for a comperehensive overview of the different loading options. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| A DatasetCollectionLoader object. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Raises ------ ||\n|---|---|\n| DatasetCollectionNotFoundError if dataset collection not found in registry. ||\n\n\u003cbr /\u003e"]]