code: def test_serialization_v2_without_totensor():
      current_directory = os.path.dirname(os.path.abspath(__file__))
      files_directory = os.path.join(current_directory, "files")
      transform = A.load(
          os.path.join(
              files_directory,
              "transform_serialization_v2_without_totensor.json",
          )
      )
      with open(
          os.path.join(
              files_directory, "output_v1.1.0_without_totensor.json"
          )
      ) as f:
          output_1_1_0 = json.load(f)
      np.random.seed(42)
      image = np.random.randint(
          low=0, high=255, size=(256, 256, 3), dtype=np.uint8
      )
      random.seed(42)
      transformed_image = transform(image=image)["image"]
      assert transformed_image.tolist() == output_1_1_0
  
imports: import json
  import os
  import random
  from unittest.mock import patch
  import cv2
  import numpy
  import pytest
  import albumentations
  import albumentations.augmentations.functional
  import albumentations.augmentations.geometric.functional
  from albumentations.core.serialization import SERIALIZABLE_REGISTRY, shorten_class_name
  from albumentations.core.transforms_interface import ImageOnlyTransform
  from .conftest import skipif_no_torch
  from .utils import OpenMock, check_all_augs_exists, get_image_only_transforms, get_transforms, set_seed
label_desc: Use image node_id 15 for calling a global function with example usage: test_serialization_v2_without_totensor() without return types