code: def test_batch_1_wrong_shape():
      for shape in [
          (2, None, None, None),
          (None, None, 4),
          (2, None, None, 4),
          (None, 0, None, 3),
      ]:
          yield raises(
              tf.errors.InvalidArgumentError,
              "The shape provided for output `0` is not compatible with the "
              "shape returned by DALI Pipeline",
          )(dali_pipe_batch_1), shape, tf.uint8
  
imports: import tensorflow
  import nvidia.dali.ops
  import nvidia.dali.pipeline
  import nvidia.dali.plugin.tf
  import nvidia.dali.types
  from test_utils_tensorflow import skip_for_incompatible_tf
  import os
  from nose.tools import assert_equals
  from nose_utils import raises
  import itertools
  import warnings
label_desc: Use image node_id 5 for calling a global function with example usage: test_batch_1_wrong_shape() without return types