MCPcopy Create free account
hub / github.com/KerenLab/CellSighter / forward

Method forward

model.py:17–21  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

15 self.softmax = nn.Softmax(dim=1)
16
17 def forward(self, x):
18 x = self.model(x)
19 if not self.training:
20 x = self.softmax(x)
21 return x

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected