MCPcopy Create free account
hub / github.com/Sense-GVT/DeCLIP / forward

Method forward

prototype/tools/convert.py:25–28  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

23 self.softmax = nn.Softmax(dim=1)
24
25 def forward(self, x):
26 x = self.model(x)
27 x = self.softmax(x)
28 return x
29
30
31class KestrelSolver(ClsSolver):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected