class_docstr: Utility class which when used as a base class, makes the class work with the 'spawn' multiprocessing
  context.
code: def __init__(self, *args: Any, **kwargs: Any) -> None:
      args = tuple(
          arg.clone() if isinstance(arg, torch.Tensor) else arg
          for arg in args
      )
      kwargs = {
          key: val.clone() if isinstance(val, torch.Tensor) else val
          for key, val in kwargs.items()
      }
  
      super().__init__(*args, **kwargs)
  
imports: from functools import wraps
  from typing import Any, Callable, Dict, List, Optional, Tuple, Union
  import torch
  from torch.distributions import Beta, Uniform
  from kornia.core import Tensor, as_tensor
  from kornia.geometry.boxes import Boxes
  from kornia.geometry.keypoints import Keypoints
  from kornia.utils import _extract_device_dtype
label_desc: Use image node_id 1 to create a new MultiprocessWrapper object  with example: obj = MultiprocessWrapper()