Skip to content
Snippets Groups Projects
Commit 93d5ac34 authored by Mina Moshfegh's avatar Mina Moshfegh
Browse files

Upload New File

parent c87adeee
No related branches found
No related tags found
No related merge requests found
import torch
import torch.nn as nn
from .base_attack import BaseAttack
class NoOpAttack(BaseAttack):
def __init__(self, model=None):
super().__init__(model)
def generate(self, x, y):
return x
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment