class_docstr: A observer containing runing statistics.
class_docstr_tok: ["A","observer","containing","runing","statistics","."]
docstr: Adding observable to observe/updating existing observable.
docstr_tok: ["Adding","observable","to","observe\/updating","existing","observable","."]
code: def update(self, observable: ObservableStats):
      """Adding observable to observe/updating existing observable."""
      name = observable.name()
      if name not in self.observables:
          self.observables[name] = observable
      else:
          self.observables[name].update(observable)
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 2 for calling the TransformStatistics obj's underlying member method code with example usage: obj.update(observable) without return types