code: def _get_fake_img(h, w):
      array = np.random.randint(255, size=(w, h), dtype=np.uint8)
      return Image.fromarray(array)
  
file_path: fiftyone/tests/misc/torch_tests.py
imports: import unittest
  import numpy
  from PIL import Image
  import torch
  import torchvision
  import fiftyone
  import fiftyone.utils.torch
label_desc: Use image node_id 1 for calling a global function with example usage: _get_fake_img(h, w) and returns: Image