TFDS now supports the Croissant 🥐 format! Read the documentation to know more.

tfds.dataset_collection

View source on GitHub

Instantiates a DatasetCollectionLoader.

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

Used in the notebooks

Used in the tutorials

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.