code: def GNNLayer(dim_in, dim_out, has_act=True):
      """
      Wrapper for a GNN layer
  
      Args:
          dim_in (int): Input dimension
          dim_out (int): Output dimension
          has_act (bool): Whether has activation function after the layer
  
      """
      return GeneralLayer(cfg.gnn.layer_type, dim_in, dim_out, has_act)
  
imports: import torch
  import torch.nn
  import torch.nn.functional
  import graphgym.register
  from graphgym.config import cfg
  from graphgym.init import init_weights
  from graphgym.models.feature_encoder_pyg import edge_encoder_dict, node_encoder_dict
  from graphgym.models.head_pyg import head_dict
  from graphgym.models.layer_pyg import BatchNorm1dEdge, BatchNorm1dNode, GeneralLayer, GeneralMultiLayer
label_desc: Use image node_id 1 for calling a global function with example usage: GNNLayer(dim_in, dim_out, has_act) and returns: GeneralLayer