code: def _blend_images(images, mixing_factor):
      assert (
          len(images) == 2
      ), "mixup is only supported for 2 images at a time currently"
      # multiply the tensors with the respective mixing value
      images[0].mul_(mixing_factor)
      images[1].mul_(1 - mixing_factor)
      images[0].add_(images[1])
      return images[0]
  
imports: import numpy
  import torch
  from vissl.data.collators import register_collator
label_desc: Use image node_id 1 for calling a global function with example usage: _blend_images(images, mixing_factor) and returns: images