code: def get_sag_network(net_type: str = "hierarchical"):
      if net_type == "hierarchical":
          return SAGNetworkHierarchical
      elif net_type == "global":
          return SAGNetworkGlobal
      else:
          raise ValueError(
              "SAGNetwork type {} is not supported.".format(net_type)
          )
  
file_path: dgl/examples/pytorch/sagpool/network.py
imports: import dgl
  import torch
  import torch.nn
  import torch.nn.functional
  from dgl.nn import AvgPooling, GraphConv, MaxPooling
  from layer import ConvPoolBlock, SAGPool
label_desc: Use image node_id 1 for calling a global function with example usage: get_sag_network(net_type) and returns: SAGNetworkHierarchical, SAGNetworkGlobal