class_docstr: Callback to implement iteration based model averaging strategies.
  
  Parameters
  ----------
  avg_strategy
      IterationAveragingStrategy, one of NTA or Alpha_Suffix from
      gluonts.mx.trainer.model_iteration_averaging
code: def __init__(self, avg_strategy: IterationAveragingStrategy):
      self.avg_strategy = avg_strategy
  
imports: from typing import Any, Dict, List, Optional
  import logging
  import mxnet
  import mxnet.gluon.nn
  from mxnet import gluon
  from gluonts.core.component import validated
  from .callback import Callback
label_desc: Use image node_id 1 to create a new ModelIterationAveraging object from inherited base classes: Callback with example: obj = ModelIterationAveraging(avg_strategy)