code: def _rand_image():
      return Image.fromarray(
          np.random.randint(0, 255, (64, 64, 3), dtype="uint8")
      )
  
file_path: lightning-flash/tests/image/classification/test_data_model_integration.py
imports: from pathlib import Path
  import numpy
  import pytest
  from flash import Trainer
  from flash.core.utilities.imports import _FIFTYONE_AVAILABLE, _PIL_AVAILABLE, _TOPIC_IMAGE_AVAILABLE
  from flash.image import ImageClassificationData, ImageClassifier
label_desc: Use image node_id 1 for calling a global function with example usage: _rand_image() and returns: Image