code: def __init__(self, in_size, hidden_size=128):
      super(SemanticAttention, self).__init__()
  
      self.project = nn.Sequential(
          nn.Linear(in_size, hidden_size),
          nn.Tanh(),
          nn.Linear(hidden_size, 1, bias=False),
      )
  
file_path: AutoGL/test/performance/heterogeneous/dgl/han_base/model_hetero.py
imports: import torch
  import torch.nn
  import torch.nn.functional
  import dgl
  from dgl.nn.pytorch import GATConv
label_desc: Use image node_id 1 to create a new SemanticAttention object from inherited base classes: nn with example: obj = SemanticAttention(in_size, hidden_size)