class_docstr: Subclass torch's LayerNorm to handle fp16.
class_docstr_tok: ["Subclass","torch","'s","LayerNorm","to","handle","fp16","."]
code: def forward(self, x: torch.Tensor):
      orig_type = x.dtype
      ret = super().forward(x.type(torch.float32))
      return ret.type(orig_type)
  
imports: from collections import OrderedDict
  from typing import Tuple, Union
  import torch
  import torch.nn.functional
  from torch import nn
label_desc: Use image node_id 1 for calling the LayerNorm obj's underlying member method code with example usage: obj.forward(x) and returns: ret