class_docstr: Aggregates values for mean.
class_docstr_tok: ["Aggregates","values","for","mean","."]
docstr: Add an amount to the total and also increment the counts.
docstr_tok: ["Add","an","amount","to","the","total","and","also","increment","the","counts","."]
code: def add(self, value, counts=1):
      """Add an amount to the total and also increment the counts."""
      self.value += value
      self.total_counts += counts
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import contextlib
  import datetime
  import numbers
  import pdb
  import tempfile
  import time
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the AggregateMean obj's underlying member method code with example usage: obj.add(value, counts) without return types