class_docstr: Generates two-dimensional grid graphs.
  See :meth:`~torch_geometric.utils.grid` for more information.
  
  Args:
      height (int): The height of the grid.
      width (int): The width of the grid.
      dtype (:obj:`torch.dtype`, optional): The desired data type of the
          returned position tensor. (default: :obj:`None`)
code: def __call__(self) -> Data:
      edge_index, pos = grid(
          height=self.height, width=self.width, dtype=self.dtype
      )
      return Data(edge_index=edge_index, pos=pos)
  
file_path: pytorch_geometric/torch_geometric/datasets/graph_generator/grid_graph.py
imports: from typing import Optional
  import torch
  from torch_geometric.data import Data
  from torch_geometric.datasets.graph_generator import GraphGenerator
  from torch_geometric.utils import grid
label_desc: Use image node_id 2 for calling the GridGraph obj's underlying member method code with example usage: obj.__call__() and returns: Data