code: def test_2d_const_shape(self):
      input_param = {
          "func": "CONSTANT",
          "kernel_size": [2, 3],
          "stride": [2, 3],
      }
      self._test_nd_downsample_output_shape(
          rank=2, param_dict=input_param, output_shape=(2, 8, 6, 8)
      )
  
file_path: NiftyNet/tests/downsample_test.py
imports: from __future__ import absolute_import, print_function
  import tensorflow
  from niftynet.layer.downsample import DownSampleLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 9 for calling the DownSampleTest obj's underlying member method code with example usage: obj.test_2d_const_shape() without return types