docstr: Generate a list of graphs.
  
  Returns:
      list: Generated a list of :class:`deepsnap.graph.Graph` objects.
docstr_tok: ["Generate","a","list","of","graphs",".","Returns",":","list",":","Generated","a","list","of",":","class",":","`","deepsnap.graph.Graph","`","objects","."]
code: def generate(self, **kwargs):
      r"""
      Generate a list of graphs.
  
      Returns:
          list: Generated a list of :class:`deepsnap.graph.Graph` objects.
      """
      gen = np.random.choice(self.generators, 1, p=self.gen_prob)[0]
      return gen.generate(**kwargs)
  
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 7 for calling the EnsembleGenerator obj's underlying member method code with example usage: obj.generate() and returns: gen