code: def __init__(self, heads, dim):
      super().__init__()
      self.scale = dim**0.5
      self.gamma = nn.Parameter(torch.ones(heads, 1, dim))
  
imports: from functools import partial
  from typing import List, Union
  import torch
  import torch.nn.functional
  from torch import nn, Tensor
  from torch.nn.utils.rnn import pad_sequence
  from einops import rearrange, repeat
  from einops.layers.torch import Rearrange
label_desc: Use image node_id 1 to create a new RMSNorm object from inherited base classes: nn with example: obj = RMSNorm(heads, dim)