<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/models/blob/v2.20.0/official/core/train_utils.py#L451-L459) |

Write evaluation metrics to TF summary.

    tfm.core.train_utils.write_summary(
        summary_writer, global_step, eval_metrics
    )