class_docstr: Class to help manage, save, clean up, and average checkpoints.
code: def log_if_verbose(self, msg: str):
      if self._log_verbose:
          print(msg, flush=True)
  
imports: import os
  from collections import deque, OrderedDict
  from typing import Any, Deque, Dict, List, Optional, Tuple
  import torch
  from fairseq import checkpoint_utils, utils
  from pytorch_translate import constants
  from pytorch_translate.file_io import PathManager
label_desc: Use image node_id 4 for calling the CheckpointManager obj's underlying member method code with example usage: obj.log_if_verbose(msg) without return types