class_docstr: Metric base class.
class_docstr_tok: ["Metric","base","class","."]
docstr: Accumulates values.
docstr_tok: ["Accumulates","values","."]
code: def update(self, value):
      """Accumulates values."""
  
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 2 for calling the Metric obj's underlying member method code with example usage: obj.update(value) without return types