class_docstr: Randomly paste the image onto a background canvas.
class_docstr_tok: ["Randomly","paste","the","image","onto","a","background","canvas","."]
code: def _impl(self, img, loc):
      x0, y0 = loc
      img_shape = img.shape[:2]
      background = self.background_filler.fill(
          self.background_shape, img
      )
      background[y0 : y0 + img_shape[0], x0 : x0 + img_shape[1]] = img
      return background
  
imports: import numpy
  from abc import abstractmethod
  from .base import ImageAugmentor
  from .transform import TransformFactory
label_desc: Use image node_id 2 for calling the RandomPaste obj's underlying member method code with example usage: obj._impl(img, loc) and returns: background