MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / get_normalized_probs

Method get_normalized_probs

fairseq/models/fairseq_model.py:41–51  ·  view source on GitHub ↗

Get normalized probabilities (or log probs) from a net's output.

(self, net_output, log_probs, sample=None)

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