class_docstr: Generates random Erdos-Renyi (ER) graphs.
  See :meth:`~torch_geometric.utils.erdos_renyi_graph` for more information.
  
  Args:
      num_nodes (int): The number of nodes.
      edge_prob (float): Probability of an edge.
code: def __init__(self, num_nodes: int, edge_prob: float):
      super().__init__()
      self.num_nodes = num_nodes
      self.edge_prob = edge_prob
  
imports: from torch_geometric.data import Data
  from torch_geometric.datasets.graph_generator import GraphGenerator
  from torch_geometric.utils import erdos_renyi_graph
label_desc: Use image node_id 1 to create a new ERGraph object from inherited base classes: GraphGenerator with example: obj = ERGraph(num_nodes, edge_prob)