code: def __init__(self, interpolation, boundary="ZERO", **kwargs):
      super(NiftyregImageResamplingLayer, self).__init__(**kwargs)
  
      self._interpolation = __INTERPOLATION_CODES__[
          interpolation.upper()
      ]
      self._boundary = boundary.upper()
  
file_path: NiftyNet/niftynet/contrib/niftyreg_image_resampling/niftyreg_image_resampling.py
imports: from __future__ import print_function, division
  import tensorflow
  from tensorflow.python.framework import ops
  from niftynet.layer.base_layer import Layer
  from niftynet.layer.layer_util import infer_spatial_rank
  from niftyreg_module_loader import get_niftyreg_module
label_desc: Use image node_id 1 to create a new NiftyregImageResamplingLayer object from inherited base classes: Layer with example: obj = NiftyregImageResamplingLayer(interpolation, boundary)