class_docstr: GAT
code: def __init__(self, hidden_size, act, use_degree_norm=False):
      super(GAT, self).__init__()
      self.gnn = pgl.nn.GATConv(
          input_size=hidden_size,
          hidden_size=hidden_size,
          num_heads=1,
          feat_drop=0,
          attn_drop=0,
          activation=act,
      )
      self.lin = nn.Linear(hidden_size * 2, hidden_size)
      self.act = act
      self.use_degree_norm = use_degree_norm
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  import pgl
  import math
  from .None import model_util
label_desc: Use image node_id 1 to create a new GAT object from inherited base classes: nn with example: obj = GAT(hidden_size, act, use_degree_norm)