code: def test_or():
      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
          )
          const_F = types.Constant(np.array(False), device="cpu")
          const_T = types.Constant(np.array(True), device="cpu")
          return (
              boolean_input_0 | boolean_input_1,
              boolean_input_0 | const_F,
              const_T | boolean_input_1,
          )
  
      @pipeline_def(enable_conditionals=True, **kwargs)
      def or_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
          )
          const_F = types.Constant(np.array(False), device="cpu")
          const_T = types.Constant(np.array(True), device="cpu")
          return (
              boolean_input_0 or boolean_input_1,
              boolean_input_0 or const_F,
              const_T or boolean_input_1,
          )
  
      pipes = [regular_pipe(), or_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 3 for calling a global function with example usage: test_or() and returns: unknown,  unknown,  unknown, unknown,  unknown,  unknown