class_docstr: Calculates the average of a tensor
class_docstr_tok: ["Calculates","the","average","of","a","tensor"]
code: def __init__(self, name: Optional[str] = None) -> None:
      super().__init__(name=name)
      self.rolling_mean: Optional[Tensor] = None
      self.n: Optional[Count] = None
  
imports: from typing import Any, Callable, List, Optional, TYPE_CHECKING
  import torch
  from torch import Tensor
label_desc: Use image node_id 1 to create a new Mean object from inherited base classes: Stat with example: obj = Mean(name)