class_docstr: The Epoch CPU usage metric.
  This plugin metric only works at training time.
  
  The average usage will be logged after each epoch.
class_docstr_tok: ["The","Epoch","CPU","usage","metric",".","This","plugin","metric","only","works","at","training","time",".","The","average","usage","will","be","logged","after","each","epoch","."]
docstr: Creates an instance of the epoch CPU usage metric.
docstr_tok: ["Creates","an","instance","of","the","epoch","CPU","usage","metric","."]
code: def __init__(self):
      """
      Creates an instance of the epoch CPU usage metric.
      """
      super(EpochCPUUsage, self).__init__(
          reset_at="epoch", emit_at="epoch", mode="train"
      )
  
imports: import os
  import warnings
  from typing import Optional, List
  from psutil import Process
  from avalanche.evaluation import Metric, PluginMetric, GenericPluginMetric
  from avalanche.evaluation.metrics import Mean
label_desc: Use image node_id 1 to create a new EpochCPUUsage object from inherited base classes: CPUPluginMetric with example: obj = EpochCPUUsage()