code: def _testShape(self, input_shape, block_shape, paddings, error):
      self._testStaticShape(input_shape, block_shape, paddings, error)
      self._testDynamicShape(input_shape, block_shape, paddings)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import gen_array_ops
  from tensorflow.python.ops import gradient_checker
  from tensorflow.python.platform import test
label_desc: Use image node_id 3 for calling the BatchToSpaceNDErrorHandlingTest obj's underlying member method code with example usage: obj._testShape(input_shape, block_shape, paddings, error) without return types