MCPcopy Create free account
hub / github.com/breeze-sys/Label-Only-MIA-Go / forward

Method forward

python_server/classifier.py:45–50  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

43 nn.Linear(256, parameters[self.dataset][1]) )
44
45 def forward(self, x):
46 self.query_num += 1
47 out = self.features(x)
48 out = out.view(out.size(0), -1)
49 out = self.classifier(out)
50 return out
51
52 def _make_layers(self, cfg):
53 layers = []

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected