code: def test_crop_to_custom_size(image):
      transformed = apply_transforms(image, 299)
  
      assert transformed.shape == (1, 3, 299, 299)
  
imports: import pytest
  from os import path
  from PIL import Image
  import numpy
  import torch
  from flashtorch.utils import load_image, apply_transforms, denormalize, standardize_and_clip, format_for_plotting
label_desc: Use image node_id 7 for calling a global function with example usage: test_crop_to_custom_size(image) without return types