class_docstr: Unit test for NiftyregImageResamplingLayer
class_docstr_tok: ["Unit","test","for","NiftyregImageResamplingLayer"]
code: def test_gpu_resampling(self):
      if (
          tft.is_gpu_available(cuda_only=True)
          and tft.is_built_with_cuda()
      ):
          self._test_resampling(True)
      else:
          self.skipTest("No CUDA support available")
  
file_path: NiftyNet/niftynet/contrib/niftyreg_image_resampling/tests/test_python_wrapper.py
imports: from niftynet.contrib.niftyreg_image_resampling.niftyreg_image_resampling import NiftyregImageResamplingLayer
  from niftynet.contrib.niftyreg_image_resampling.tests.test_resampler import ResamplerTest
  import numpy
  import tensorflow
  import tensorflow.test
label_desc: Use image node_id 7 for calling the WrapperResamplerTest obj's underlying member method code with example usage: obj.test_gpu_resampling() without return types