class_docstr: Calculates the average of a tensor
class_docstr_tok: ["Calculates","the","average","of","a","tensor"]
code: def init(self):
      self.n = self._get_stat(Count())
  
imports: from typing import Any, Callable, List, Optional, TYPE_CHECKING
  import torch
  from torch import Tensor
label_desc: Use image node_id 3 for calling the Mean obj's underlying member method code with example usage: obj.init() without return types