View source on GitHub
|
tfds.download.DownloadManager API.
Classes
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 DownloadError: Common base class for all non-exit exceptions.
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.
Functions
add_checksums_dir(...): Registers a new checksums dir.
iter_archive(...): Iterate over an archive.
View source on GitHub