code: def __init__(self, **kwargs):
      super(ParallelVisionTransformerLayer, self).__init__(**kwargs)
      precision = kwargs["precision"]
      if precision in ["bf16", "bf16-mixed"]:
          self.dtype = torch.bfloat16
      elif precision in [16, "16", "16-mixed"]:
          self.dtype = torch.float16
      elif precision in [32, "32", "32-true"]:
          self.dtype = torch.float32
      else:
          raise ValueError(f"Cannot recognize precision {precision}")
  
file_path: NeMo/nemo/collections/vision/modules/common/megatron/vision_transformer.py
imports: import torch
  from nemo.collections.nlp.modules.common.megatron.layer_type import LayerType
  from nemo.collections.nlp.modules.common.megatron.module import MegatronModule
  from nemo.collections.nlp.modules.common.megatron.transformer import ParallelTransformer, ParallelTransformerLayer_
  from nemo.collections.nlp.modules.common.megatron.utils import ApexGuardDefaults
label_desc: Use image node_id 1 to create a new ParallelVisionTransformerLayer object from inherited base classes: ParallelVisionTransformerLayer_ with example: obj = ParallelVisionTransformerLayer()