Functionupsample_2dr"""Upsample a batch of 2D images with the given filter. Accepts a batch of 2D images of the shape `[N, C, H, W]` or `[N, H, W, C]` and upsam
defense/diffpure/score_sde/models/up_or_down_sampling.py:203
Functionvalidate_pgd(val_loader, model, criterion, K, step, configs, logger)
defense/at/lib/validation.py:8