code: def test_center_crop_could_be_int_or_tuple():
      """When ``config`` is None, ``image_size`` could be either ``int`` or
      ``Tuple[int, int]``."""
  
      get_transforms(image_size=256)
      get_transforms(image_size=(256, 512))
      with pytest.raises(ValueError):
          get_transforms(config=None, image_size=0.0)
  
file_path: anomalib/tests/pre_merge/pre_processing/transforms/test_transforms.py
imports: import tempfile
  import albumentations
  import numpy
  import pytest
  import skimage
  from torch import Tensor
  from anomalib.data.utils import get_transforms
label_desc: Use image node_id 5 for calling a global function with example usage: test_center_crop_could_be_int_or_tuple() without return types