Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUYimingLi/BackdoorBox
/ ModifyTarget
Class
ModifyTarget
core/attacks/BAAT.py:73–78 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
71
72
73
class
ModifyTarget:
74
def
__init__(self, y_target):
75
self.y_target = y_target
76
77
def
__call__(self, y_target):
78
return
self.y_target
79
80
81
class
AttributeEditor(abc.ABC):
Callers
1
__init__
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected