code: def test_imread_preserve_aspect_ratio():
      tens_400_400 = caer.imread(
          tens_path, target_size=(400, 400), preserve_aspect_ratio=True
      )
      tens_223_182 = caer.imread(
          tens_path, target_size=(223, 182), preserve_aspect_ratio=True
      )
      tens_93_35 = caer.imread(
          tens_path, target_size=(93, 35), preserve_aspect_ratio=True
      )
  
      assert tens_400_400.shape[:2] == (400, 400)
      assert tens_223_182.shape[:2] == (
          182,
          223,
      )  # Numpy arrays are processed differently (h,w) as opposed to (w,h)
      assert tens_93_35.shape[:2] == (
          35,
          93,
      )  # Numpy arrays are processed differently (h,w) as opposed to (w,h)
  
      assert isinstance(tens_400_400, caer.Tensor)
      assert isinstance(tens_223_182, caer.Tensor)
      assert isinstance(tens_93_35, caer.Tensor)
  
imports: import caer
  import os
  import cv2
  import numpy
label_desc: Use image node_id 3 for calling a global function with example usage: test_imread_preserve_aspect_ratio() without return types