View source on GitHub

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

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

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

ValueError if value_update_tuples is empty.