class_docstr: Stats tracker for computing metrics on the fly.
class_docstr_tok: ["Stats","tracker","for","computing","metrics","on","the","fly","."]
code: def __init__(self) -> None:
      self._stats: Dict[str, AverageMeter] = {}
  
file_path: kornia/kornia/x/utils.py
imports: from dataclasses import dataclass, field
  from enum import Enum
  from typing import Any, Callable, Dict, Tuple
  from kornia.core import Module, Tensor
  from kornia.metrics.average_meter import AverageMeter
label_desc: Use image node_id 1 to create a new StatsTracker object  with example: obj = StatsTracker()