code: def test_5d_shape(self):
      x, interp_orders = self.get_5d_input()
      rand_deformation_layer = RandomElasticDeformationLayer(
          num_controlpoints=4,
          std_deformation_sigma=15,
          proportion_to_augment=0.5,
      )
      rand_deformation_layer.randomise(x)
      out = rand_deformation_layer(x, interp_orders)
      self.assertEqual(out["testdata"].shape, SHAPE_5D)
  
file_path: NiftyNet/tests/rand_elastic_deformation_test.py
imports: from __future__ import absolute_import, print_function
  import unittest
  import numpy
  import tensorflow
  from niftynet.layer.rand_elastic_deform import RandomElasticDeformationLayer
  from niftynet.layer.rand_elastic_deform import sitk
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 5 for calling the RandDeformationTests obj's underlying member method code with example usage: obj.test_5d_shape() without return types