class_docstr: Wraps a stateless metric function with the Mean metric.
docstr: Creates a `MeanMetricWrapper` instance.
  Args:
    fn: The metric function to wrap, with signature
      `fn(y_true, y_pred, **kwargs)`.
    name: (Optional) string name of the metric instance.
    dtype: (Optional) data type of the metric result.
    **kwargs: The keyword arguments that are passed on to `fn`.
code: def __init__(
      self,
      fn: Callable,
      name: Optional[str] = None,
      dtype: AcceptableDTypes = None,
      **kwargs,
  ):
      """Creates a `MeanMetricWrapper` instance.
      Args:
        fn: The metric function to wrap, with signature
          `fn(y_true, y_pred, **kwargs)`.
        name: (Optional) string name of the metric instance.
        dtype: (Optional) data type of the metric result.
        **kwargs: The keyword arguments that are passed on to `fn`.
      """
      super().__init__(name=name, dtype=dtype)
      self._fn = fn
      self._fn_kwargs = kwargs
  
file_path: addons/tensorflow_addons/metrics/utils.py
imports: import numpy
  import tensorflow
  from tensorflow_addons.utils.types import AcceptableDTypes
  from typeguard import typechecked
  from typing import Optional, Callable
label_desc: Use image node_id 1 to create a new MeanMetricWrapper object from inherited base classes: tf.keras.metrics with example: obj = MeanMetricWrapper(fn, name, dtype)