code: def test_complex_expression():
      bs = 10
      iters = 5
      kwargs = {
          "batch_size": bs,
          "num_threads": 4,
          "device_id": 0,
          "seed": 42,
      }
  
      @pipeline_def(**kwargs)
      def regular_pipe():
          boolean_input_0 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=6
          )
          boolean_input_1 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=9
          )
          boolean_input_2 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=12
          )
          boolean_input_3 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=15
          )
          return (
              boolean_input_0 | (boolean_input_1 & boolean_input_2)
          ) | (boolean_input_3 == 0)
  
      @pipeline_def(enable_conditionals=True, **kwargs)
      def expr_pipe():
          boolean_input_0 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=6
          )
          boolean_input_1 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=9
          )
          boolean_input_2 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=12
          )
          boolean_input_3 = fn.random.coin_flip(
              dtype=types.DALIDataType.BOOL, seed=15
          )
          return (
              boolean_input_0
              or boolean_input_1
              and boolean_input_2
              or not boolean_input_3
          )
  
      pipes = [regular_pipe(), expr_pipe()]
      for pipe in pipes:
          pipe.build()
      compare_pipelines(*pipes, bs, iters)
  
file_path: DALI/dali/test/python/conditionals/test_logical_expressions.py
imports: from nvidia.dali.pipeline import pipeline_def
  import nvidia.dali.fn
  import nvidia.dali.types
  from test_utils import compare_pipelines, check_batch
  from nose_utils import assert_raises
  from nose2.tools import params
  import numpy
label_desc: Use image node_id 4 for calling a global function with example usage: test_complex_expression() and returns: unknown, unknown