code: def test_blue_position_outside_of_2x2_tile(blue_position):
      with assert_raises(
          RuntimeError,
          glob="The `blue_position` position must lie within 2x2 tile",
      ):
  
          @pipeline_def
          def pipeline():
              bayer_imgs = fn.external_source(
                  source_full_array((20, 20), np.uint8), batch=False
              )
              return fn.experimental.debayer(
                  bayer_imgs.gpu(), blue_position=blue_position
              )
  
          pipe = pipeline(batch_size=8, num_threads=4, device_id=0)
          pipe.build()
          pipe.run()
  
imports: import itertools
  import os
  import unittest
  import numpy
  from nvidia.dali import pipeline_def, fn, types
  from test_utils import get_dali_extra_path
  from nose_utils import assert_raises
  from nose2.tools import params
  from debayer_test_utils import bayer_patterns, blue_position, blue_position2pattern, rgb2bayer, rgb2bayer_seq, debayer_bilinear_npp_pattern, debayer_bilinear_npp_pattern_seq
label_desc: Use image node_id 10 for calling a global function with example usage: test_blue_position_outside_of_2x2_tile(blue_position) and returns: fn