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

Method forward

models/classifiers/classifier.py:186–191  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

184 self.fc_layer = nn.Linear(self.feat_dim, self.num_classes)
185
186 def forward(self, x):
187 feat = self.feature(x)
188 feat = self.output_layer(feat)
189 feat = feat.view(feat.size(0), -1)
190 out = self.fc_layer(feat)
191 return feat, out
192
193
194class IR152_vib(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected