src/transformers/models/table_transformer/convert_table_transformer_original_pytorch_checkpoint_to_pytorch.py/rename_key
def rename_key(state_dict, old, new):
    val = state_dict.pop(old)
    state_dict[new] = val