extract_archive
¶
Extract archive file.
Code borrowed from dgl
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file
|
str
|
Absolute path of the archive file. |
required |
target_dir
|
str
|
Target directory of the archive to be uncompressed. |
required |
overwrite
|
Whether to overwrite the contents inside the directory. By default always overwrites. |
True
|
Source code in mlx_graphs/datasets/utils/download.py
from mlx_graphs.datasets.utils import extract_archive · mlx_graphs/datasets/utils/download.py