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_out
method - unused
net_outputs
arg inget_targets
- redundant
load_state_dict
method (previously needed to override given the added step of "upgrade state dict" to be backwards compatible) - unused
Namespace
import - unused
sample
arg fromget_normalized_probs_scriptable
andget_normalized_probs
methods