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

Method forward

loss/center_loss.py:29–54  ·  view source on GitHub ↗

Args: x: feature matrix with shape (batch_size, feat_dim). labels: ground truth labels with shape (num_classes).

(self, x, labels)

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