

def fill(self, background_shape, img):
    '\n        Return a proper background image of background_shape, given img\n\n        :param background_shape: a shape of [h, w]\n        :param img: an image\n        :returns: a background image\n        '
    return self._fill(background_shape, img)

dataset/ETHPy150Open ppwwyyxx/tensorpack/tensorpack/dataflow/imgaug/paste.py BackgroundFiller.fill/original