View source on GitHub |
Iterate over an archive.
tfds.download.iter_archive(
path: Union[epath.PathLike, typing.BinaryIO],
method: tfds.download.ExtractMethod
) -> Iterator[Tuple[str, typing.BinaryIO]]
Args | |
---|---|
path
|
str , archive path
|
method
|
tfds.download.ExtractMethod , extraction method
|
Returns | |
---|---|
An iterator of (path_in_archive, f_obj)
|