Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/python/ops/
Dmetrics_impl.py2269 def _maybe_select_class_id(labels, predictions_idx, selected_id=None): argument
2287 return labels, predictions_idx
2289 _select_class_id(predictions_idx, selected_id))
2293 predictions_idx, argument
2324 (predictions_idx, labels, weights)):
2325 labels, predictions_idx = _maybe_select_class_id(labels, predictions_idx,
2327 tp = sets.set_size(sets.set_intersection(predictions_idx, labels))
2338 predictions_idx, argument
2376 (predictions_idx, labels, weights)) as scope:
2378 predictions_idx=predictions_idx,
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dmetrics_test.py2052 predictions_idx, argument
2063 predictions_idx=constant_op.constant(predictions_idx, dtypes_lib.int32),
2220 predictions_idx = (predictions_idx_ex1[:k], predictions_idx_ex2[:k])
2224 predictions_idx, labels, k=k, expected=streaming_precision[i])
2294 predictions_idx = [[9, 4, 6, 2, 0], [5, 7, 2, 9, 6]]
2305 predictions_idx, labels, k=5, expected=NAN, class_id=class_id)
2311 predictions_idx = [[9, 4, 6, 2, 0], [5, 7, 2, 9, 6]]
2322 predictions_idx, labels, k=5, expected=0.0, class_id=class_id)
2328 predictions_idx = [[9, 4, 6, 2, 0], [5, 7, 2, 9, 6]]
2338 predictions_idx, labels, k=5, expected=2.0 / 2, class_id=2)
[all …]
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.metrics.pbtxt81 …argspec: "args=[\'labels\', \'predictions_idx\', \'k\', \'class_id\', \'weights\', \'metrics_colle…
97 …argspec: "args=[\'labels\', \'predictions_idx\', \'k\', \'class_id\', \'weights\', \'metrics_colle…