code: def save_epoch_info(tmp_path: str, epoch_info: dict) -> None:
      r"""
      Writes the current epoch information into a json file in the model path.
  
      Parameters
      ----------
      tmp_path
          Temporary base path to save the epoch info.
      epoch_info
          Epoch information dictionary containing the parameters path, the epoch
          number and the tracking metric value.
  
      Returns
      -------
      None
      """
  
      with open(f"{tmp_path}-{EPOCH_INFO_STRING}.json", "w") as f:
          json.dump(epoch_info, f)
  
imports: import glob
  import json
  import logging
  from typing import Dict, List, Tuple
  import mxnet
  import mxnet.gluon.nn
  import numpy
  from gluonts.core.component import validated
  from .callback import Callback
label_desc: Use image node_id 1 for calling a global function with example usage: save_epoch_info(tmp_path, epoch_info) without return types