class_docstr: The minibatch time metric.
  This plugin metric only works at training time.
  
  This metric "logs" the elapsed time for each iteration.
  
  If a more coarse-grained logging is needed, consider using
  :class:`EpochTime`.
class_docstr_tok: ["The","minibatch","time","metric",".","This","plugin","metric","only","works","at","training","time",".","This","metric","``","logs","''","the","elapsed","time","for","each","iteration",".","If","a","more","coarse-grained","logging","is","needed",",","consider","using",":","class",":","`","EpochTime","`","."]
code: def __str__(self):
      return "Time_MB"
  
imports: import time
  from typing import TYPE_CHECKING, List
  from avalanche.evaluation import Metric, PluginMetric, GenericPluginMetric
  from avalanche.evaluation.metric_results import MetricValue, MetricResult
  from avalanche.evaluation.metric_utils import get_metric_name
  from avalanche.evaluation.metrics.mean import Mean
label_desc: Use image node_id 3 for calling the MinibatchTime obj's underlying member method code with example usage: obj.__str__() and returns: str