# tfma.metrics.merge_per_key_computations

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/model-analysis/blob/v0.46.0/tensorflow_model_analysis/metrics/metric_util.py#L1068-L1112) |

Wraps create_computations_fn to be called separately for each key.

    tfma.metrics.merge_per_key_computations(
        create_computations_fn: Callable[..., https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/metrics/MetricComputations]
    ) -> Callable[..., https://www.tensorflow.org/tfx/model_analysis/api_docs/python/tfma/metrics/MetricComputations]