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

Method __init__

attack_utils.py:85–87  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

83
84class RotationAttack(nn.Module):
85 def __init__(self):
86 super().__init__()
87 self.angle = 30
88
89 def forward(self, image):
90 rand_num = random.uniform(-1, 1)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected