Home
last modified time | relevance | path

Searched refs:is_correct (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/contrib/metrics/python/metrics/
Dclassification.py60 is_correct = math_ops.cast(
63 is_correct = math_ops.multiply(is_correct, weights)
64 num_values = math_ops.multiply(weights, array_ops.ones_like(is_correct))
65 return math_ops.div(math_ops.reduce_sum(is_correct),
67 return math_ops.reduce_mean(is_correct)
/external/icu/icu4c/source/i18n/
Ddouble-conversion-strtod.cpp472 bool is_correct = ComputeGuess(trimmed, exponent, &guess); in Strtod() local
473 if (is_correct) return guess; in Strtod()
498 bool is_correct = ComputeGuess(trimmed, exponent, &double_guess); in Strtof() local
527 if (is_correct) { in Strtof()
/external/tensorflow/tensorflow/python/ops/
Dmetrics_impl.py455 is_correct = math_ops.cast(
457 return mean(is_correct, weights, metrics_collections, updates_collections,
1042 is_correct = math_ops.cast(
1050 is_correct *= weights
1054 update_count_op = state_ops.scatter_add(count, labels, is_correct)