code: def _rand_image(size: Tuple[int, int] = None):
      if size is None:
          _size = np.random.choice([196, 244])
          size = (_size, _size)
      return Image.fromarray(
          np.random.randint(0, 255, (*size, 3), dtype="uint8")
      )
  
imports: from pathlib import Path
  from typing import Tuple
  import flash
  import numpy
  import pytest
  import torch
  from flash.audio import AudioClassificationData
  from flash.core.utilities.imports import _MATPLOTLIB_AVAILABLE, _PIL_AVAILABLE, _TOPIC_AUDIO_AVAILABLE
  from pytorch_lightning import seed_everything
label_desc: Use image node_id 1 for calling a global function with example usage: _rand_image(size) and returns: Image