Created by: suchenzang
Following https://github.com/facebookresearch/metaseq/pull/229 and continuing to break down https://github.com/facebookresearch/metaseq/pull/197.
Remove:
- unused
handle_legacy_ln_method - unused
reorder_encoder_outmethod - unused
net_outputsarg inget_targets - redundant
load_state_dictmethod (previously needed to override given the added step of "upgrade state dict" to be backwards compatible) - unused
Namespaceimport - unused
samplearg fromget_normalized_probs_scriptableandget_normalized_probsmethods