code: def double_precision_context():
      """
      Double precision context manager.
      """
      default_dtype = torch.get_default_dtype()
      torch.set_default_dtype(torch.float64)
      yield
      torch.set_default_dtype(default_dtype)
  
imports: import contextlib
  import logging
  import math
  import sys
  import warnings
  from typing import Dict, List, Optional, Tuple, Union
  import torch
  from lightning.pytorch.accelerators import find_usable_cuda_devices
  from torch import nn
  from autogluon.common.utils.resource_utils import ResourceManager
  from ..constants import DDP_STRATEGIES, OBJECT_DETECTION, OCR
label_desc: Use image node_id 8 for calling a global function with example usage: double_precision_context() without return types