class_docstr: Calculates the element-wise mean of the given values.
class_docstr_tok: ["Calculates","the","element-wise","mean","of","the","given","values","."]
code: def __init__(self, name: Optional[str] = None):
      super().__init__(name=name)
      self.sum = None
      self.count = tf.Variable(
          0, dtype=tf.int64, trainable=False, name="count"
      )
  
imports: import abc
  from typing import Optional
  from sonnet.src import base
  from sonnet.src import once
  import tensorflow
label_desc: Use image node_id 1 to create a new Mean object from inherited base classes: Metric with example: obj = Mean(name)