Skip to content

Commit

Permalink
add original
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcc0930 committed Oct 20, 2022
1 parent 31711af commit e7bf583
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion unlearn/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@
from .fisher import fisher
from .retrain import retrain

def raw(data_loaders, model, criterion, args):
pass

def get_unlearn_method(name):
""" method usage:
function(data_loaders, model, criterion, args)"""
if name == "RL":
if name == "raw":
return raw
elif name == "RL":
return RL
elif name == "GA":
return GA
Expand Down

0 comments on commit e7bf583

Please sign in to comment.