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

Method __init__

core/attacks/LabelConsistent.py:210–211  ·  view source on GitHub ↗
(self, y_target)

Source from the content-addressed store, hash-verified

208
209class ModifyTarget:
210 def __init__(self, y_target):
211 self.y_target = y_target
212
213 def __call__(self, y_target):
214 return self.y_target

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected