code: def make_table(info_list: List[dict], max_depth: int) -> str:
      from tabulate import tabulate
  
      content = [["Layer", "Input Shape", "Output Shape", "#Param"]]
      for info in info_list:
          content.append(
              [
                  info["name"],
                  info["input_shape"],
                  info["output_shape"],
                  info["#param"],
              ]
          )
      return tabulate(content, headers="firstrow", tablefmt="psql")
  
file_path: pytorch_geometric/torch_geometric/nn/summary.py
imports: from collections import defaultdict
  from typing import Any, List, Optional, Union
  import torch
  from torch.jit import ScriptModule
  from torch.nn import Module
  from torch_geometric.nn.conv import MessagePassing
  from torch_geometric.nn.dense.linear import is_uninitialized_parameter
  from torch_geometric.typing import SparseTensor
label_desc: Use image node_id 4 for calling a global function with example usage: make_table(info_list, max_depth) and returns: tabulate