code: def check_fail_sequence_rearrange(
      batch_size,
      shape,
      reorders,
      persample_reorder=True,
      op_type="cpu",
      layout="",
  ):
      check_sequence_rearrange(
          batch_size,
          shape,
          reorders,
          persample_reorder,
          op_type,
          layout,
      )
  
file_path: DALI/dali/test/python/operator_2/test_sequence_rearrange.py
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.fn
  import numpy
  from nose_utils import raises
label_desc: Use image node_id 8 for calling a global function with example usage: check_fail_sequence_rearrange(batch_size, shape, reorders, persample_reorder, op_type, layout) without return types