class_docstr: Counter for strategy events.
  
  WARNING: Clock needs to be the last plugin, otherwise counters will be
  wrong for plugins called after it.
docstr: Init.
code: def __init__(self):
      """Init."""
      super().__init__()
      # train
      self.train_iterations = 0
      """ Total number of training iterations. """
  
      self.train_exp_counter = 0
      """ Number of past training experiences. """
  
      self.train_exp_epochs = 0
      """ Number of training epochs for the current experience. """
  
      self.train_exp_iterations = 0
      """ Number of training iterations for the current experience. """
  
      self.train_epoch_iterations = 0
      """ Number of iterations for the current epoch. """
  
      self.total_iterations = 0
      """ Total number of iterations in training and eval mode. """
  
file_path: avalanche/avalanche/training/plugins/clock.py
imports: from avalanche.training.plugins import SupervisedPlugin
label_desc: Use image node_id 1 to create a new Clock object from inherited base classes: SupervisedPlugin with example: obj = Clock()