code: def convert_image_dtype(
      image: torch.Tensor, dtype: torch.dtype = torch.float32
  ) -> torch.Tensor:
      """[DEPRECATED] Use to_dtype() instead."""
      return to_dtype_image(image, dtype=dtype, scale=True)
  
imports: import math
  from typing import List, Optional
  import PIL.Image
  import torch
  from torch.nn.functional import conv2d, pad
  from torchvision import tv_tensors
  from torchvision.transforms._functional_tensor import _max_value
  from torchvision.transforms.functional import pil_to_tensor, to_pil_image
  from torchvision.utils import _log_api_usage_once
  from ._utils import _get_kernel, _register_kernel_internal
label_desc: Use image node_id 13 for calling a global function with example usage: convert_image_dtype(image, dtype) and returns: to_dtype_image