MCPcopy Create free account
hub / github.com/CDTrans/CDTrans / forward

Method forward

loss/softmax_loss.py:23–34  ·  view source on GitHub ↗

Args: inputs: prediction matrix (before softmax) with shape (batch_size, num_classes) targets: ground truth labels with shape (num_classes)

(self, inputs, targets)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected