Can you use torch.backends.cudnn.benchmark = True after resizing images?

Do you know of any literature behind the adpative pooling layers. fastai uses it, I have also used it but I am not able to find much literature behind it.