code: def check_operator_multipaste(
      bs,
      pastes,
      in_size,
      out_size,
      even_paste_count,
      no_intersections,
      full_input,
      in_anchor_top_left,
      in_anchor_range,
      out_anchor_top_left,
      out_anchor_range,
      out_dtype,
      num_out_of_bounds,
      device,
  ):
      (
          pipe,
          in_idx_l,
          in_anchors_l,
          shapes_l,
          out_anchors_l,
      ) = get_pipeline(
          batch_size=bs,
          in_size=in_size,
          out_size=out_size,
          even_paste_count=even_paste_count,
          k=pastes,
          dtype=out_dtype,
          no_intersections=no_intersections,
          full_input=full_input,
          in_anchor_top_left=in_anchor_top_left,
          in_anchor_range=in_anchor_range,
          out_anchor_top_left=out_anchor_top_left,
          out_anchor_range=out_anchor_range,
          num_out_of_bounds=num_out_of_bounds,
          use_gpu=device == "gpu",
      )
      pipe.build()
      try:
          result, input = pipe.run()
          r = result.as_cpu() if device == "gpu" else result
          if SHOW_IMAGES:
              show_images(bs, r)
          assert not verify_out_of_bounds(
              bs,
              in_idx_l,
              in_anchors_l,
              shapes_l,
              out_anchors_l,
              in_size,
              out_size,
          )
          manual_verify(
              bs,
              input,
              r,
              in_idx_l,
              in_anchors_l,
              shapes_l,
              out_anchors_l,
              [out_size + (3,)] * bs,
              out_dtype,
          )
      except RuntimeError as e:
          if (
              "Paste in/out coords should be within input/output bounds"
              in str(e)
          ):
              assert verify_out_of_bounds(
                  bs,
                  in_idx_l,
                  in_anchors_l,
                  shapes_l,
                  out_anchors_l,
                  in_size,
                  out_size,
              )
          else:
              assert False
  
file_path: DALI/dali/test/python/operator_1/test_multipaste.py
imports: from nvidia.dali.pipeline import Pipeline
  import nvidia.dali.fn
  import nvidia.dali.types
  import numpy
  import os
  from test_utils import get_dali_extra_path
label_desc: Use image node_id 7 for calling a global function with example usage: check_operator_multipaste(bs, pastes, in_size, out_size, even_paste_count, no_intersections, full_input, in_anchor_top_left, in_anchor_range, out_anchor_top_left, out_anchor_range, out_dtype, num_out_of_bounds, device) without return types