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

Method upgrade_state_dict

fairseq/models/fairseq_encoder.py:43–45  ·  view source on GitHub ↗

Upgrade a (possibly old) state dict for new versions of fairseq.

(self, state_dict)

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