Module: tfds.download

Defined in core/download/__init__.py.

tfds.download.DownloadManager API.

Classes

class DownloadConfig: Configuration for tfds.core.DatasetBuilder.download_and_prepare.

class DownloadManager: Manages the download and extraction of files, as well as caching.

class ComputeStatsMode: Mode to decide if dynamic dataset info fields should be computed or not.

class GenerateMode: Enum for how to treat pre-existing downloads and data.

class Resource: Represents a resource to download, extract, or both.

class ExtractMethod: The extraction method to use to pre-process a downloaded file.

Functions

iter_archive(...): Yields (path_in_archive, f_obj) for archive at path using tfds.download.ExtractMethod.