MCPcopy Create free account
hub / github.com/THUYimingLi/BackdoorBox / __init__

Method __init__

core/attacks/Refool.py:27–28  ·  view source on GitHub ↗
(self, y_target)

Source from the content-addressed store, hash-verified

25
26class ModifyTarget:
27 def __init__(self, y_target):
28 self.y_target = y_target
29
30 def __call__(self, y_target):
31 return self.y_target

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected