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

Method forward

models/msdnet.py:202–205  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

200 self.linear = nn.Linear(channel, num_classes)
201
202 def forward(self, x):
203 res = self.m(x[-1])
204 res = res.view(res.size(0), -1)
205 return self.linear(res), res
206
207class MSDNet(nn.Module):
208 def __init__(self, args):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected