torch_geometric.data.extract_tar

extract_tar(path: str, folder: str, mode: str = 'r:gz', log: bool = True) None[source]

将tar存档提取到特定文件夹。

Parameters:
  • path (str) – The path to the tar archive.

  • folder (str) – The folder.

  • mode (str, optional) – 压缩模式。(默认: "r:gz")

  • log (bool, optional) – If False, will not print anything to the console. (default: True)

Return type:

None