code: def image_bytes():
      with open(
          REPO_DIR.joinpath(
              "examples/image_classifier/resnet_152_batch/images/kitten.jpg"
          ).as_posix(),
          "rb",
      ) as fin:
          image_bytes = fin.read()
      yield image_bytes
  
file_path: serve/ts/torch_handler/unit_tests/test_image_classifier.py
imports: import sys
  from pathlib import Path
  import pytest
  from torchvision.models.resnet import ResNet18_Weights
  from ts.torch_handler.image_classifier import ImageClassifier
  from .test_utils.mock_context import MockContext
  from .test_utils.model_dir import copy_files, download_model
label_desc: Use image node_id 1 for calling a global function with example usage: image_bytes() without return types