code: def assert_shape(test, reference):
      assert (
          test.shape == reference.shape
      ), "Shape mismatch: {} and {}".format(test.shape, reference.shape)
  
imports: import numpy
  from medpy import metric
label_desc: Use image node_id 1 for calling a global function with example usage: assert_shape(test, reference) without return types