Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, model, eps=0.3, alpha=2/255, iters=40, sampling=10):
super(APGD, self).__init__("APGD", model)
self.eps = eps
self.alpha = alpha
self.iters = iters
self.sampling = sampling