<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.10/tensorflow_datasets/core/load.py#L438-L481) |

Instantiates a DatasetCollectionLoader.

    tfds.dataset_collection(
        name: str, loader_kwargs: Optional[dict[str, Any]] = None
    ) -> DatasetCollectionLoader

### Used in the notebooks

| Used in the tutorials |
|---|
| - [Dataset Collections](https://www.tensorflow.org/datasets/dataset_collections) |

<br />

<br />

<br />

| ## Args ||
|---|---|
| `name` | The name of the dataset collection to load. |
| `loader_kwargs` | `dict` (optional), keyword arguments to be passed to the [`tfds.load`](https://www.tensorflow.org/datasets/api_docs/python/tfds/load) function. Refer to [`tfds.load`](https://www.tensorflow.org/datasets/api_docs/python/tfds/load) documentation for a comperehensive overview of the different loading options. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A DatasetCollectionLoader object. ||

<br />

<br />

<br />

<br />

| ## Raises ||
|---|---|
| DatasetCollectionNotFoundError if dataset collection not found in registry. ||

<br />