- Pytorch ```python import torch.backends.cudnn as cudnn cudnn.benchmark = True ``` - Paddle ```python import paddle False = True ```