def METHOD_NAME(state_dict, prefix, local_metadata, strict, missing_keys, unexpected_keys, error_msgs):
    reverse_mapping = defaultdict(list)
    for src, tar in full_mapping.items():
        reverse_mapping[tar].append(src)
    transf_state_dict = {}
    for src, tar_keys in reverse_mapping.items():
        if src in state_dict:
            value = state_dict.pop(src)
            for tar in tar_keys:
                transf_state_dict[tar] = value
        else:
            missing_keys.append(src)
    state_dict.update(transf_state_dict)