class_docstr: A variety of non-homophilous graph datasets from the `"Large Scale
  Learning on Non-Homophilous Graphs: New Benchmarks and Strong Simple
  Methods" <https://arxiv.org/abs/2110.14446>`_ paper.
  
  .. note::
      Some of the datasets provided in :class:`LINKXDataset` are from other
      sources, but have been updated with new features and/or labels.
  
  Args:
      root (str): Root directory where the dataset should be saved.
      name (str): The name of the dataset (:obj:`"penn94"`, :obj:`"reed98"`,
          :obj:`"amherst41"`, :obj:`"cornell5"`, :obj:`"johnshopkins55"`,
          :obj:`"genius"`).
      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`)
class_docstr_tok: ["A","variety","of","non-homophilous","graph","datasets","from","the","`","``","Large","Scale","Learning","on","Non-Homophilous","Graphs",":","New","Benchmarks","and","Strong","Simple","Methods","''","<","https",":","\/\/arxiv.org\/abs\/2110.14446",">","`","_","paper",".","..","note",":",":","Some","of","the","datasets","provided","in",":","class",":","`","LINKXDataset","`","are","from","other","sources",",","but","have","been","updated","with","new","features","and\/or","labels",".","Args",":","root","(","str",")",":","Root","directory","where","the","dataset","should","be","saved",".","name","(","str",")",":","The","name","of","the","dataset","(",":","obj",":","`","``","penn94","''","`",",",":","obj",":","`","``","reed98","''","`",",",":","obj",":","`","``","amherst41","''","`",",",":","obj",":","`","``","cornell5","''","`",",",":","obj",":","`","``","johnshopkins55","''","`",",",":","obj",":","`","``","genius","''","`",")",".","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","`",")"]
code: def processed_file_names(self) -> str:
      return "data.pt"
  
file_path: pytorch_geometric/torch_geometric/datasets/linkx_dataset.py
imports: import os.path
  from typing import Callable, List, Optional
  import numpy
  import torch
  from torch_geometric.data import Data, InMemoryDataset, download_url
  from torch_geometric.utils import one_hot
label_desc: Use image node_id 5 for calling the LINKXDataset obj's underlying member method code with example usage: obj.processed_file_names() and returns: str