MCPcopy Create free account
hub / github.com/NVIDIA/semantic-segmentation / forward

Method forward

network/mscale.py:222–229  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

220 return output_dict
221
222 def forward(self, inputs):
223 if cfg.MODEL.N_SCALES and not self.training:
224 if self.fuse_aspp:
225 return self.nscale_fused_forward(inputs, cfg.MODEL.N_SCALES)
226 else:
227 return self.nscale_forward(inputs, cfg.MODEL.N_SCALES)
228
229 return self.two_scale_forward(inputs)
230
231
232class MscaleV3Plus(MscaleBase):

Callers

nothing calls this directly

Calls 3

nscale_fused_forwardMethod · 0.95
nscale_forwardMethod · 0.95
two_scale_forwardMethod · 0.95

Tested by

no test coverage detected