code: def _update_model_checkpoint_from_mmf(
      self, checkpoint: Dict[str, Any]
  ) -> None:
      tmp_checkpoint = dict(checkpoint)
      checkpoint.clear()
      checkpoint["state_dict"] = tmp_checkpoint
  
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 the MMFToPLCheckpointUpdater obj's underlying member method code with example usage: obj._update_model_checkpoint_from_mmf(checkpoint) without return types