MCPcopy Create free account
hub / github.com/deeplearning-wisc/MOOD / forward

Method forward

models/msdnet_ge.py:229–232  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

227 self.linear = nn.Linear(channel, num_classes)
228
229 def forward(self, x):
230 res = self.m(x[-1])
231 res = res.view(res.size(0), -1)
232 return self.linear(res), res
233
234class MSDNet(nn.Module):
235 def __init__(self, args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected