MCPcopy Create free account
hub / github.com/NarcissusEx/GuardSplat / __init__

Method __init__

attack_utils.py:114–115  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

112# these two functions are implemented based on WatermarkAttacker (https://github.com/XuandongZhao/WatermarkAttacker).
113class VAEAttack(nn.Module):
114 def __init__(self):
115 super().__init__()
116
117 def forward(self, image):
118 out = self.model(image[None])

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected