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

tfds.builder_cls

View source on GitHub

Fetches a tfds.core.DatasetBuilder class by string name.

tfds.builder_cls(
 name: str
) -> Type[dataset_builder.DatasetBuilder]

Args

name str, the registered name of the DatasetBuilder (the class name as camel or snake case: MyDataset or my_dataset).

Returns

A tfds.core.DatasetBuilder class.

Raises

DatasetNotFoundError if name is unrecognized.

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.