docstr: Map string precision representation to torch dtype.
  
  Parameters:
      precision (str): String representation of precision.
  
  Returns:
      torch.dtype: Corresponding torch dtype.
docstr_tok: ["Map","string","precision","representation","to","torch","dtype",".","Parameters",":","precision","(","str",")",":","String","representation","of","precision",".","Returns",":","torch.dtype",":","Corresponding","torch","dtype","."]
code: def _get_precision_type(self, precision: str) -> torch.dtype:
      """
      Map string precision representation to torch dtype.
  
      Parameters:
          precision (str): String representation of precision.
  
      Returns:
          torch.dtype: Corresponding torch dtype.
      """
      precision_map = {"16": torch.float16, "bf16": torch.bfloat16}
      return precision_map.get(precision, torch.float32)
  
file_path: NeMo/nemo/collections/multimodal/modules/nerf/guidance/stablediffusion_huggingface_pipeline.py
imports: from typing import List
  import torch
  import torch.nn.functional
  from diffusers import DDIMScheduler, StableDiffusionPipeline
  from nemo.collections.multimodal.modules.nerf.guidance.txt2img_guidance_base import Txt2ImgGuidanceBase
label_desc: Use image node_id 2 for calling the StableDiffusion obj's underlying member method code with example usage: obj._get_precision_type(precision) and returns: precision_map