class_docstr: Metric base class.
class_docstr_tok: ["Metric","base","class","."]
docstr: Creates any input dependent variables or state.
docstr_tok: ["Creates","any","input","dependent","variables","or","state","."]
code: def initialize(self, value):
      """Creates any input dependent variables or state."""
  
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 for calling the Metric obj's underlying member method code with example usage: obj.initialize(value) without return types