class_docstr: Mergeable states for batch update in an aggregate function.
class_docstr_tok: ["Mergeable","states","for","batch","update","in","an","aggregate","function","."]
code: def result(self):
      return safe_divide(self.total, self.count)
  
imports: from collections.abc import Iterable, Sequence
  import dataclasses
  import enum
  import itertools
  from typing import Any
  import numpy
  from numpy import typing
  from tensorflow_model_analysis.experimental.lazytf import api
label_desc: Use image node_id 2 for calling the MeanState obj's underlying member method code with example usage: obj.result() and returns: safe_divide