code: def test_resample_function_impl(self, img, matrix, expected):
      out = resample(
          convert_to_tensor(img),
          matrix,
          {"lazy_shape": img.shape[1:], "lazy_padding_mode": "border"},
      )
      assert_allclose(out[0], expected, type_test=False)
  
      img = convert_to_tensor(img, dtype=torch.uint8)
      out = resample(
          img,
          matrix,
          {"lazy_resample_mode": "auto", "lazy_dtype": torch.float},
      )
      out_1 = resample(
          img,
          matrix,
          {
              "lazy_resample_mode": "other value",
              "lazy_dtype": torch.float,
          },
      )
      self.assertIs(out.dtype, out_1.dtype)
  
file_path: MONAI/tests/test_resample.py
imports: from __future__ import annotations
  import unittest
  import torch
  from parameterized import parameterized
  from monai.transforms.lazy.functional import resample
  from monai.utils import convert_to_tensor
  from tests.utils import assert_allclose, get_arange_img
label_desc: Use image node_id 1 for calling the TestResampleFunction obj's underlying member method code with example usage: obj.test_resample_function_impl(img, matrix, expected) without return types