code: def check_deserialization(batch_size, num_threads, shape):
      ref_pipe = TestPipeline(
          batch_size=batch_size, num_threads=num_threads, shape=shape
      )
      serialized = ref_pipe.serialize()
      test_pipe = Pipeline.deserialize(serialized)
      test_utils.compare_pipelines(
          ref_pipe, test_pipe, batch_size=batch_size, N_iterations=3
      )
  
file_path: DALI/dali/test/python/test_deserialization.py
imports: import nvidia.dali.ops
  from nvidia.dali.pipeline import Pipeline
  import test_utils
  from nose_utils import raises
label_desc: Use image node_id 1 for calling a global function with example usage: check_deserialization(batch_size, num_threads, shape) without return types