class_docstr: The Amazon dataset from the `"GraphSAINT: Graph Sampling Based
  Inductive Learning Method" <https://arxiv.org/abs/1907.04931>`_ paper,
  containing products and its categories.
  
  Args:
      root (str): Root directory where the dataset should be saved.
      transform (callable, optional): A function/transform that takes in an
          :obj:`torch_geometric.data.Data` object and returns a transformed
          version. The data object will be transformed before every access.
          (default: :obj:`None`)
      pre_transform (callable, optional): A function/transform that takes in
          an :obj:`torch_geometric.data.Data` object and returns a
          transformed version. The data object will be transformed before
          being saved to disk. (default: :obj:`None`)
      force_reload (bool, optional): Whether to re-process the dataset.
          (default: :obj:`False`)
  
  **STATS:**
  
  .. list-table::
      :widths: 10 10 10 10
      :header-rows: 1
  
      * - #nodes
        - #edges
        - #features
        - #classes
      * - 1,569,960
        - 264,339,468
        - 200
        - 107
code: def download(self) -> None:
      path = download_url(
          self.url.format(self.adj_full_id), self.raw_dir
      )
      os.rename(path, osp.join(self.raw_dir, "adj_full.npz"))
  
      path = download_url(self.url.format(self.feats_id), self.raw_dir)
      os.rename(path, osp.join(self.raw_dir, "feats.npy"))
  
      path = download_url(
          self.url.format(self.class_map_id), self.raw_dir
      )
      os.rename(path, osp.join(self.raw_dir, "class_map.json"))
  
      path = download_url(self.url.format(self.role_id), self.raw_dir)
      os.rename(path, osp.join(self.raw_dir, "role.json"))
  
file_path: pytorch_geometric/torch_geometric/datasets/amazon_products.py
imports: import json
  import os
  import os.path
  from typing import Callable, List, Optional
  import numpy
  import scipy.sparse
  import torch
  from torch_geometric.data import Data, InMemoryDataset, download_url
label_desc: Use image node_id 4 for calling the AmazonProducts obj's underlying member method code with example usage: obj.download() without return types