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

Method forward

loss/utils.py:133–134  ·  view source on GitHub ↗
(self, inputs, targets, do_rmi=None)

Source from the content-addressed store, hash-verified

131 ignore_index=ignore_index)
132
133 def forward(self, inputs, targets, do_rmi=None):
134 return self.nll_loss(F.log_softmax(inputs, dim=1), targets)
135
136
137def customsoftmax(inp, multihotmask):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected