code: def to_float32(image: Tensor) -> Tensor:
      KORNIA_CHECK(image.dtype == torch.uint8)
      return image.float() / 255.0
  
file_path: kornia/kornia/io/io.py
imports: from __future__ import annotations
  import os
  from enum import Enum
  from pathlib import Path
  import torch
  from torch.utils import dlpack
  from kornia.color import rgb_to_grayscale, rgba_to_rgb
  from kornia.color.gray import grayscale_to_rgb
  from kornia.color.rgb import rgb_to_rgba
  from kornia.core import Device, Tensor
  from kornia.core.check import KORNIA_CHECK
label_desc: Use image node_id 2 for calling a global function with example usage: to_float32(image) and returns: unknown