code: def SamplePairing(imgs):  # [0, 0.4]
      def f(img1, v):
          i = np.random.choice(len(imgs))
          img2 = PIL.Image.fromarray(imgs[i])
          return PIL.Image.blend(img1, img2, v)
  
      return f
  
imports: import random
  import numpy
  import PIL
  import PIL.ImageDraw
  import PIL.ImageEnhance
  import PIL.ImageOps
  import torch
  from PIL import Image
label_desc: Use image node_id 21 for calling a global function with example usage: SamplePairing(imgs) and returns: f, PIL