espnet.nets.pytorch_backend.nets_utils.rename_state_dict
Less than 1 minute
espnet.nets.pytorch_backend.nets_utils.rename_state_dict
espnet.nets.pytorch_backend.nets_utils.rename_state_dict(old_prefix: str, new_prefix: str, state_dict: Dict[str, Tensor])
Replace keys of old prefix with new prefix in state dict.