TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.metrics.aggregate_metrics

View source on GitHub

Aggregates the metric value tensors and update ops into two lists.

tf.contrib.metrics.aggregate_metrics(*value_update_tuples)

Args:

  • *value_update_tuples: a variable number of tuples, each of which contain the pair of (value_tensor, update_op) from a streaming metric.

Returns:

A list of value Tensor objects and a list of update ops.

Raises:

  • ValueError: if value_update_tuples is empty.