PNDM icon indicating copy to clipboard operation
PNDM copied to clipboard

Update ema.py

Open sagarishere opened this issue 2 years ago • 0 comments

Remove the unnecessary if-else block for checking whether the module is a nn.DataParallel module. Since the shadow parameters are stored in a dictionary using the name of the parameters, this check is not necessary.

sagarishere avatar Feb 08 '23 23:02 sagarishere