{ }
View source on GitHub |
Sum the weights of true_negatives.
tf.compat.v1.metrics.true_negatives(
labels,
predictions,
weights=None,
metrics_collections=None,
updates_collections=None,
name=None
)
If weights
is None
, weights default to 1. Use weights of 0 to mask values.
Returns | |
---|---|
value_tensor
|
A Tensor representing the current value of the metric.
|
update_op
|
An operation that accumulates the error from a batch of data. |