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

Method forward

fairseq/modules/adaptive_softmax.py:147–168  ·  view source on GitHub ↗

Args: input: (b x t x d) target: (b x t) Returns: 2 lists: output for each cutoff section and new targets by cut off

(self, input, target)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

adapt_targetMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected