MCPcopy Create free account
hub / github.com/VisionRush/DeepFakeDefenders / __init__

Method __init__

toolkit/chelper.py:9–12  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

7
8class augment_inputs_network(nn.Module):
9 def __init__(self, model):
10 super(augment_inputs_network, self).__init__()
11 self.model = model
12 self.adapter = nn.Conv2d(in_channels=6, out_channels=3, kernel_size=3, stride=1, padding=1)
13
14 def forward(self, x):
15 x = self.adapter(x)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected