class_docstr: TransformerConv
code: def __init__(self, hidden_size, act, use_degree_norm=False):
      super(TransformerConv, self).__init__()
      self.hidden_size = hidden_size
      self.nheads = 4
      self.head_dim = self.hidden_size // self.nheads
      self.act = act
      self.use_degree_norm = use_degree_norm
      self.edge_type = self.create_parameter(
          shape=[1, self.nheads, self.head_dim], is_bias=True
      )
      self.gate = self.create_parameter(shape=[1, self.nheads])
  
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 TransformerConv object from inherited base classes: nn with example: obj = TransformerConv(hidden_size, act, use_degree_norm)