extract_archiveΒΆ

class dgl.data.utils.extract_archive(file, target_dir, overwrite=True)[source]ΒΆ

Extract archive file.

Parameters
  • file (str) – Absolute path of the archive file.

  • target_dir (str) – Target directory of the archive to be uncompressed.

  • overwrite (bool, default True) – Whether to overwrite the contents inside the directory. By default always overwrites.