Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THUYimingLi/BackdoorBox
/ __call__
Method
__call__
core/attacks/LabelConsistent.py:213–214 ·
view source on GitHub ↗
(self, y_target)
Source
from the content-addressed store, hash-verified
211
self.y_target = y_target
212
213
def
__call__(self, y_target):
214
return
self.y_target
215
216
217
class
PoisonedDatasetFolder(DatasetFolder):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected