def _auc(probs, targets, weights=None): return metric_ops.streaming_auc(array_ops.slice(probs, [0, 1], [-1, 1]), targets, weights=weights)
def _streaming_auc(predictions, labels, weights=None): return metric_ops.streaming_auc( predictions, labels, weights=_float_weights_or_none(weights))
def _streaming_auc(predictions, labels, weights=None): return metric_ops.streaming_auc(predictions, labels, weights=_float_weights_or_none(weights))