class_docstr: Abstract class of on-the-fly generator used in the dataset.
  It generates on-the-fly graphs, which will be fed into the model.
class_docstr_tok: ["Abstract","class","of","on-the-fly","generator","used","in","the","dataset",".","It","generates","on-the-fly","graphs",",","which","will","be","fed","into","the","model","."]
docstr: Overwrite in subclass. Generates and returns a 
  :class:`deepsnap.graph.Graph` object
  
  Returns:
      :class:`deepsnap.graph.Graph`: A DeepSNAP graph object.
docstr_tok: ["Overwrite","in","subclass",".","Generates","and","returns","a",":","class",":","`","deepsnap.graph.Graph","`","object","Returns",":",":","class",":","`","deepsnap.graph.Graph","`",":","A","DeepSNAP","graph","object","."]
code: def generate(self):
      r"""
      Overwrite in subclass. Generates and returns a
      :class:`deepsnap.graph.Graph` object
  
      Returns:
          :class:`deepsnap.graph.Graph`: A DeepSNAP graph object.
      """
      return Graph(nx.Graph())
  
imports: import copy
  import math
  import types
  import random
  import networkx
  import numpy
  import torch
  import deepsnap
  from deepsnap.graph import Graph
  from deepsnap.hetero_graph import HeteroGraph
  import pdb
  from typing import Dict, List, Union
  import warnings
label_desc: Use image node_id 10 for calling the Generator obj's underlying member method code with example usage: obj.generate() and returns: Graph