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

Method __init__

core/attacks/TUAP.py:203–204  ·  view source on GitHub ↗
(self, y_target)

Source from the content-addressed store, hash-verified

201
202class ModifyTarget:
203 def __init__(self, y_target):
204 self.y_target = y_target
205
206 def __call__(self, y_target):
207 return self.y_target

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected