mlx.data.files_from_tar#
- mlx.data.files_from_tar(tarfile: str, nested: bool = False, num_threads: int = 1) mlx.data._c.Buffer#
Return the list of files contained in a tar archive.
If
nestedis true then the archive is indexed recursively ie archives contained in the file are also indexed. Moreover in that case the indexing can be parallelized using the argumentnum_threads