code: def testInputWrongDimMissingDepth(self):
      # The input is missing the last dimension ("depth")
      x_np = [[[1, 2], [3, 4]]]
      block_size = 2
      with self.assertRaises((ValueError, errors.InvalidArgumentError)):
          out_tf = array_ops.space_to_depth(x_np, block_size)
          self.evaluate(out_tf)
  
imports: import numpy
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors
  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_v2
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 11 for calling the SpaceToDepthTest obj's underlying member method code with example usage: obj.testInputWrongDimMissingDepth() without return types