class_docstr: Calculates the element-wise sum of the given values.
class_docstr_tok: ["Calculates","the","element-wise","sum","of","the","given","values","."]
docstr: See base class.
docstr_tok: ["See","base","class","."]
code: def update(self, value: tf.Tensor):
      """See base class."""
      self.initialize(value)
      self.sum.assign_add(value)
  
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 3 for calling the Sum obj's underlying member method code with example usage: obj.update(value) without return types