code: def test_resampler_3d_symmetric_linear_correctness(self):
      test_grid = tf.constant(
          [
              [[-0.25, -0.25, -0.25], [0.25 + 2, 0.75 + 2, 0.25 + 4]],
              [[0.75, 0.25, -0.25 + 4], [0.25, 0.25, 0.75]],
          ],
          dtype=tf.float32,
      )
      expected = [[[2.75], [3.75]], [[12.75], [11.25]]]
      self._test_correctness(
          input=self.get_3d_input1(),
          grid=test_grid,
          interpolation="LINEAR",
          boundary="SYMMETRIC",
          expected_value=expected,
      )
  
imports: from __future__ import absolute_import, print_function, division
  import numpy
  import tensorflow
  from niftynet.layer.resampler import ResamplerLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 16 for calling the ResamplerTest obj's underlying member method code with example usage: obj.test_resampler_3d_symmetric_linear_correctness() without return types