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

Method __call__

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

Source from the content-addressed store, hash-verified

28 self.y_target = y_target
29
30 def __call__(self, y_target):
31 return self.y_target
32
33class AddTriggerMixin(object):
34 """Add reflection-based trigger to images.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected