class_docstr: The minibatch Disk usage metric.
  This plugin metric only works at training time.
  
  At the end of each iteration, this metric logs the total
  size (in KB) of all the monitored paths.
  
  If a more coarse-grained logging is needed, consider using
  :class:`EpochDiskUsage`.
docstr: Creates an instance of the minibatch Disk usage metric.
docstr_tok: ["Creates","an","instance","of","the","minibatch","Disk","usage","metric","."]
code: def __init__(self, paths_to_monitor):
      """
      Creates an instance of the minibatch Disk usage metric.
      """
      super(MinibatchDiskUsage, self).__init__(
          paths_to_monitor,
          reset_at="iteration",
          emit_at="iteration",
          mode="train",
      )
  
imports: import os
  from pathlib import Path
  from typing import Union, Sequence, List, Optional
  from avalanche.evaluation import Metric, GenericPluginMetric
label_desc: Use image node_id 1 to create a new MinibatchDiskUsage object from inherited base classes: DiskPluginMetric with example: obj = MinibatchDiskUsage(paths_to_monitor)