code: def remove_keys_inplace(ckpt: Dict[str, Any], keys_to_remove):
      tmp_keys = dict(ckpt)
      for key in tmp_keys:
          if key in keys_to_remove:
              ckpt.pop(key)
  
file_path: mmf/mmf/utils/checkpoint_updater.py
imports: import logging
  from typing import Any, Dict, Tuple
  import torch
  from mmf.common.registry import registry
label_desc: Use image node_id 7 for calling a global function with example usage: remove_keys_inplace(ckpt, keys_to_remove) without return types