RobustART.noise.utils.adv package¶
Submodules¶
RobustART.noise.utils.adv.attack module¶
- RobustART.noise.utils.adv.attack.autoattack_linf(input, label, model, norm, eps, version, verbose)¶
- RobustART.noise.utils.adv.attack.clip_l2_norm(cln_img, adv_img, eps)¶
- RobustART.noise.utils.adv.attack.fgsm(input, label, f_model, eps)¶
- RobustART.noise.utils.adv.attack.mim_linf(input, label, model, eps, num_steps, step_size, decay_factor)¶
- RobustART.noise.utils.adv.attack.pgd_l1(input, label, model, eps, input_size, eps_step, max_iter, batch_size)¶
- RobustART.noise.utils.adv.attack.pgd_l2(input, label, f_model, eps, rel_stepsize, steps)¶
- RobustART.noise.utils.adv.attack.pgd_linf(input, label, f_model, eps, rel_stepsize, steps)¶