code: def test_5d_mean_shape(self):
      x = self.get_5d_input()
      mask_layer = BinaryMaskingLayer(
          type_str="mean_plus", multimod_fusion="and", threshold=0.0
      )
      mask_out = mask_layer(x)
      print(mask_layer)
      self.assertAllClose(x.shape, mask_out.shape)
  
file_path: NiftyNet/tests/binary_masking_test.py
imports: from __future__ import absolute_import, print_function
  import numpy
  import tensorflow
  from niftynet.layer.binary_masking import BinaryMaskingLayer
  from tests.niftynet_testcase import NiftyNetTestCase
label_desc: Use image node_id 6 for calling the BinaryMaskingTest obj's underlying member method code with example usage: obj.test_5d_mean_shape() without return types