postprocess#
- txv.utils.postprocess(images: Tensor, attributions: Tensor)#
Does a bilinear interpolation on the attribution map to match the size of the image.
- Parameters:
images (torch.Tensor) – The input image.
attributions (torch.Tensor) – The attribution map.