code: def testBatchSize0(self):
      block_size = 2
      batch_size = 0
      input_nhwc = array_ops.ones([batch_size, 2, 3, 12])
      x_out = array_ops.ones([batch_size, 4, 6, 3])
  
      with self.cached_session(use_gpu=False):
          # test NHWC (default) on CPU
          x_tf = array_ops.depth_to_space(input_nhwc, block_size)
          self.assertAllEqual(x_tf.shape, x_out.shape)
          self.evaluate(x_tf)
      if test.is_gpu_available():
          with self.cached_session():
              # test NHWC (default) on GPU
              x_tf = array_ops.depth_to_space(input_nhwc, block_size)
              self.assertAllEqual(x_tf.shape, x_out.shape)
              self.evaluate(x_tf)
  
imports: from absl.testing import parameterized
  import numpy
  from tensorflow.python.client import device_lib
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  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.ops import math_ops
  from tensorflow.python.platform import test
  from tensorflow.python.platform import tf_logging
label_desc: Use image node_id 5 for calling the DepthToSpaceTest obj's underlying member method code with example usage: obj.testBatchSize0() without return types