code: def test_smoke(self, tmp_path: Path) -> None:
      height, width = 4, 5
      img_th: Tensor = create_random_img8_torch(height, width, 3)
  
      file_path = tmp_path / "image.jpg"
      write_image(str(file_path), img_th)
  
      assert file_path.is_file()
  
      img_load: Tensor = load_image(
          str(file_path), ImageLoadType.UNCHANGED
      )
  
      assert img_th.shape == img_load.shape
      assert img_th.shape[1:] == (height, width)
      assert str(img_th.device) == "cpu"
  
imports: import io
  import sys
  from pathlib import Path
  import numpy
  import pytest
  import requests
  import torch
  from kornia.core import Tensor
  from kornia.io import ImageLoadType, load_image, write_image
  from kornia.utils._compat import torch_version_ge
label_desc: Use image node_id 1 for calling the TestIoImage obj's underlying member method code with example usage: obj.test_smoke(tmp_path) without return types