be included. This is an optional field to make aggregations more
   directly comparable across windows when the number of samples might
   vary.
When the Stat is destructed it will log any remaining data even if
   the window hasn't elapsed.
init(self: torch._C._monitor.Stat, name: str, aggregations: List[torch._C._monitor.Aggregation], window_size: datetime.timedelta, max_samples: int = 9223372036854775807) -> None
  Constructs the "Stat".

add(self: torch._C._monitor.Stat, v: float) -> None
  Adds a value to the stat to be aggregated according to the
  configured stat type and aggregations.

property count
  Number of data points that have currently been collected. Resets
  once the event has been logged.

get(self: torch._C._monitor.Stat) -> Dict[torch._C._monitor.Aggregation, float]
  Returns the current value of the stat, primarily for testing
  purposes. If the stat has logged and no additional values have
  been added this will be zero.
