code: def create_random_img8_torch(
      height: int, width: int, channels: int, device=None
  ) -> Tensor:
      return (
          torch.rand(channels, height, width, device=device) * 255
      ).to(torch.uint8)
  
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 3 for calling a global function with example usage: create_random_img8_torch(height, width, channels, device) and returns: unknown