code: def conditional_split_merge_pipe(dev):
      input = fn.external_source(name="input", device=dev)
      pred = fn.external_source(name="predicate")
      true_branch, false_branch = fn._conditional.split(
          input, predicate=pred
      )
      true_rotated = fn.rotate(true_branch, angle=15)
      false_flipped = fn.flip(false_branch, horizontal=True)
      return fn._conditional.merge(
          true_rotated, false_flipped, predicate=pred
      )
  
file_path: DALI/dali/test/python/operator_2/test_split_merge.py
imports: from nvidia.dali.pipeline import pipeline_def, Pipeline
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  from test_utils import check_batch, RandomlyShapedDataIterator
  from nose_utils import assert_raises
  from nose2.tools import params
label_desc: Use image node_id 4 for calling a global function with example usage: conditional_split_merge_pipe(dev) and returns: fn