class_docstr: Global Layer Normalization (gLN).
class_docstr_tok: ["Global","Layer","Normalization","(","gLN",")","."]
code: def __init__(self, channel_size):
      super().__init__()
      self.gamma = nn.Parameter(
          torch.Tensor(1, channel_size, 1)
      )  # [1, N, 1]
      self.beta = nn.Parameter(
          torch.Tensor(1, channel_size, 1)
      )  # [1, N, 1]
      self.reset_parameters()
  
imports: import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new GlobalLayerNorm object from inherited base classes: nn with example: obj = GlobalLayerNorm(channel_size)