W3cubDocs

/TensorFlow Python

tf.contrib.metrics.aggregate_metrics

tf.contrib.metrics.aggregate_metrics(*value_update_tuples)

Defined in tensorflow/contrib/metrics/python/ops/metric_ops.py.

See the guide: Metrics (contrib) > Metric Ops

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

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.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/metrics/aggregate_metrics