MCPcopy Create free account
hub / github.com/Duankaiwen/CenterNet / __init__

Method __init__

nnet/py_factory.py:27–29  ·  view source on GitHub ↗
(self, model)

Source from the content-addressed store, hash-verified

25# previously model was wrapped by DataParallel module
26class DummyModule(nn.Module):
27 def __init__(self, model):
28 super(DummyModule, self).__init__()
29 self.module = model
30
31 def forward(self, *xs, **kwargs):
32 return self.module(*xs, **kwargs)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected