code: def _rand_image():
      return Image.fromarray(
          np.random.randint(0, 255, (196, 196, 3), dtype="uint8")
      )
  
imports: from pathlib import Path
  from typing import Any, List, Sequence, Tuple
  import numpy
  import pytest
  import torch
  from flash.core.data.base_viz import BaseVisualization
  from flash.core.data.io.input import DataKeys
  from flash.core.data.utils import _CALLBACK_FUNCS
  from flash.core.utilities.imports import _PIL_AVAILABLE, _TOPIC_IMAGE_AVAILABLE
  from flash.core.utilities.stages import RunningStage
  from flash.image import ImageClassificationData
  from pytorch_lightning import seed_everything
  from torch import Tensor
label_desc: Use image node_id 1 for calling a global function with example usage: _rand_image() and returns: Image