code: def test_batch_1_mixed_tuple():
      for shape in [
          (None, None, None, None),
          (None, None, None),
          (1, None, None, None),
          (1, None, None, 3),
          (None, None, 3),
      ]:
          yield raises(
              ValueError,
              "The two structures don't have the same sequence length.",
          )(dali_pipe_batch_1), shape, (tf.uint8,)
          expected_msg = (
              "Dimension value must be integer or None * got value * "
              "with type '<class 'tuple'>'"
          )
          yield raises(TypeError, expected_msg)(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 4 for calling a global function with example usage: test_batch_1_mixed_tuple() without return types