code: def __init__(self, dim):
      super().__init__()
      self.gamma = nn.Parameter(torch.zeros(1, 1, 1, dim))
      self.beta = nn.Parameter(torch.zeros(1, 1, 1, dim))
  
imports: import torch
  import torch.nn
  from ...models.attention_processor import Attention
  from ...models.lora import LoRACompatibleConv, LoRACompatibleLinear
  from ...utils import USE_PEFT_BACKEND
label_desc: Use image node_id 1 to create a new GlobalResponseNorm object from inherited base classes: nn with example: obj = GlobalResponseNorm(dim)