parameters: (im, new_dims, interp_order=1)
return_statement: return skimage.transform.resize(im, new_dims, order=interp_order)
docstring: Resize an image array with interpolation.
  
      Take
      im: (H x W x K) ndarray
      new_dims: (height, width) tuple of new dimensions.
      interp_order: interpolation order, default is linear.
  
      Give
      im: resized ndarray with shape (new_dims[0], new_dims[1], K)
docstring_summary: Resize an image array with interpolation.
docstring_tokens: Resize an image array with interpolation .
function: def resize_image(im, new_dims, interp_order=1):
      """
      Resize an image array with interpolation.
  
      Take
      im: (H x W x K) ndarray
      new_dims: (height, width) tuple of new dimensions.
      interp_order: interpolation order, default is linear.
  
      Give
      im: resized ndarray with shape (new_dims[0], new_dims[1], K)
      """
      return skimage.transform.resize(im, new_dims, order=interp_order)
function_tokens: def resize_image ( im , new_dims , interp_order = 1 ) : return skimage . transform . resize ( im , new_dims , order = interp_order )