class_docstr: The basic DGL dataset for creating graph datasets.
  This class defines a basic template class for DGL Dataset.
  The following steps will be executed automatically:
  
    1. Check whether there is a dataset cache on disk
       (already processed and stored on the disk) by
       invoking ``has_cache()``. If true, goto 5.
    2. Call ``download()`` to download the data if ``url`` is not None.
    3. Call ``process()`` to process the data.
    4. Call ``save()`` to save the processed dataset on disk and goto 6.
    5. Call ``load()`` to load the processed dataset from disk.
    6. Done.
  
  Users can overwite these functions with their
  own data processing logic.
  
  Parameters
  ----------
  name : str
      Name of the dataset
  url : str
      Url to download the raw dataset. Default: None
  raw_dir : str
      Specifying the directory that will store the
      downloaded data or the directory that
      already stores the input data.
      Default: ~/.dgl/
  save_dir : str
      Directory to save the processed dataset.
      Default: same as raw_dir
  hash_key : tuple
      A tuple of values as the input for the hash function.
      Users can distinguish instances (and their caches on the disk)
      from the same dataset class by comparing the hash values.
      Default: (), the corresponding hash value is ``'f9065fa7'``.
  force_reload : bool
      Whether to reload the dataset. Default: False
  verbose : bool
      Whether to print out progress information
  transform : callable, optional
      A transform that takes in a :class:`~dgl.DGLGraph` object and returns
      a transformed version. The :class:`~dgl.DGLGraph` object will be
      transformed before every access.
  
  Attributes
  ----------
  url : str
      The URL to download the dataset
  name : str
      The dataset name
  raw_dir : str
      Directory to store all the downloaded raw datasets.
  raw_path : str
      Path to the downloaded raw dataset folder. An alias for
      ``os.path.join(self.raw_dir, self.name)``.
  save_dir : str
      Directory to save all the processed datasets.
  save_path : str
      Path to the processed dataset folder. An alias for
      ``os.path.join(self.save_dir, self.name)``.
  verbose : bool
      Whether to print more runtime information.
  hash : str
      Hash value for the dataset and the setting.
class_docstr_tok: ["The","basic","DGL","dataset","for","creating","graph","datasets",".","This","class","defines","a","basic","template","class","for","DGL","Dataset",".","The","following","steps","will","be","executed","automatically",":","1",".","Check","whether","there","is","a","dataset","cache","on","disk","(","already","processed","and","stored","on","the","disk",")","by","invoking","``","has_cache","(",")","``",".","If","true",",","goto","5",".","2",".","Call","``","download","(",")","``","to","download","the","data","if","``","url","``","is","not","None",".","3",".","Call","``","process","(",")","``","to","process","the","data",".","4",".","Call","``","save","(",")","``","to","save","the","processed","dataset","on","disk","and","goto","6",".","5",".","Call","``","load","(",")","``","to","load","the","processed","dataset","from","disk",".","6",".","Done",".","Users","can","overwite","these","functions","with","their","own","data","processing","logic",".","Parameters","--","--","--","--","--","name",":","str","Name","of","the","dataset","url",":","str","Url","to","download","the","raw","dataset",".","Default",":","None","raw_dir",":","str","Specifying","the","directory","that","will","store","the","downloaded","data","or","the","directory","that","already","stores","the","input","data",".","Default",":","~\/.dgl\/","save_dir",":","str","Directory","to","save","the","processed","dataset",".","Default",":","same","as","raw_dir","hash_key",":","tuple","A","tuple","of","values","as","the","input","for","the","hash","function",".","Users","can","distinguish","instances","(","and","their","caches","on","the","disk",")","from","the","same","dataset","class","by","comparing","the","hash","values",".","Default",":","(",")",",","the","corresponding","hash","value","is","``","'f9065fa7","'","``",".","force_reload",":","bool","Whether","to","reload","the","dataset",".","Default",":","False","verbose",":","bool","Whether","to","print","out","progress","information","transform",":","callable",",","optional","A","transform","that","takes","in","a",":","class",":","`","~dgl.DGLGraph","`","object","and","returns","a","transformed","version",".","The",":","class",":","`","~dgl.DGLGraph","`","object","will","be","transformed","before","every","access",".","Attributes","--","--","--","--","--","url",":","str","The","URL","to","download","the","dataset","name",":","str","The","dataset","name","raw_dir",":","str","Directory","to","store","all","the","downloaded","raw","datasets",".","raw_path",":","str","Path","to","the","downloaded","raw","dataset","folder",".","An","alias","for","``","os.path.join","(","self.raw_dir",",","self.name",")","``",".","save_dir",":","str","Directory","to","save","all","the","processed","datasets",".","save_path",":","str","Path","to","the","processed","dataset","folder",".","An","alias","for","``","os.path.join","(","self.save_dir",",","self.name",")","``",".","verbose",":","bool","Whether","to","print","more","runtime","information",".","hash",":","str","Hash","value","for","the","dataset","and","the","setting","."]
docstr: Overwrite to realize your own logic of processing the input data.
docstr_tok: ["Overwrite","to","realize","your","own","logic","of","processing","the","input","data","."]
code: def process(self):
      r"""Overwrite to realize your own logic of processing the input data."""
      pass
  
imports: from __future__ import absolute_import
  import abc
  import hashlib
  import os
  import traceback
  from ..utils import retry_method_with_fix
  from .utils import download, extract_archive, get_download_dir, makedirs
label_desc: Use image node_id 5 for calling the DGLDataset obj's underlying member method code with example usage: obj.process() without return types