code: def test_3d_replicate(self):
      input_param = {
          "func": "REPLICATE",
          "kernel_size": [3, 1, 3],
          "stride": [3, 1, 3],
      }
      self._test_upsample_shape(
          rank=3,
          param_dict=input_param,
          output_shape=(4, 48, 16, 48, 8),
      )
  
file_path: NiftyNet/tests/upsample_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.upsample import UpSampleLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 6 for calling the UpSampleTest obj's underlying member method code with example usage: obj.test_3d_replicate() without return types