TensorFlow 2.0 Beta is available Learn more

Module: tfds.download

tfds.download.DownloadManager API.

View source


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

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

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

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

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

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


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