MCPcopy Create free account
hub / github.com/LetheSec/PLG-MI-Attack / forward

Method forward

models/classifiers/evolve.py:38–46  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

36 self.sigmoid = Sigmoid()
37
38 def forward(self, x):
39 module_input = x
40 x = self.avg_pool(x)
41 x = self.fc1(x)
42 x = self.relu(x)
43 x = self.fc2(x)
44 x = self.sigmoid(x)
45
46 return module_input * x
47
48
49class bottleneck_IR(Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected