class_docstr: An alternate to layer normalization, without mean centering and the learned bias [1]
  
  References
  ----------
  .. [1] Zhang, Biao, and Rico Sennrich. "Root mean square layer normalization." Advances in Neural Information
         Processing Systems 32 (2019).
class_docstr_tok: ["An","alternate","to","layer","normalization",",","without","mean","centering","and","the","learned","bias","[","1","]","References","--","--","--","--","--","..","[","1","]","Zhang",",","Biao",",","and","Rico","Sennrich",".","``","Root","mean","square","layer","normalization",".","''","Advances","in","Neural","Information","Processing","Systems","32","(","2019",")","."]
code: def forward(self, x):
      norm = torch.norm(x, dim=-1, keepdim=True) * self.scale
      return x / norm.clamp(min=self.eps) * self.g
  
file_path: darts/darts/models/components/layer_norm_variants.py
imports: import torch
  import torch.nn
label_desc: Use image node_id 2 for calling the RMSNorm obj's underlying member method code with example usage: obj.forward(x) and returns: unknown