MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / __init__

Method __init__

semantic_sam/BaseModel.py:13–16  ·  view source on GitHub ↗
(self, opt, module: nn.Module)

Source from the content-addressed store, hash-verified

11
12class BaseModel(nn.Module):
13 def __init__(self, opt, module: nn.Module):
14 super(BaseModel, self).__init__()
15 self.opt = opt
16 self.model = module
17
18 def forward(self, *inputs, **kwargs):
19 outputs = self.model(*inputs, **kwargs)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected