Home
last modified time | relevance | path

Searched refs:expected_rank_diff (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/ops/
Dconfusion_matrix.py33 labels, predictions, expected_rank_diff=0, name=None): argument
69 if (rank_diff == expected_rank_diff + 1 and
72 elif (rank_diff == expected_rank_diff - 1 and
82 math_ops.equal(expected_rank_diff + 1, rank_diff),
88 math_ops.equal(expected_rank_diff - 1, rank_diff),
/external/tensorflow/tensorflow/python/keras/utils/
Dlosses_utils.py84 labels, predictions, expected_rank_diff=0, name=None): argument
121 if (rank_diff == expected_rank_diff + 1 and
124 elif (rank_diff == expected_rank_diff - 1 and
134 math_ops.equal(expected_rank_diff + 1, rank_diff),
140 math_ops.equal(expected_rank_diff - 1, rank_diff),
/external/tensorflow/tensorflow/python/kernel_tests/
Dconfusion_matrix_test.py307 label_values, prediction_values, expected_rank_diff=0))
313 labels_placeholder, predictions_placeholder, expected_rank_diff=0))
360 label_values, prediction_values, expected_rank_diff=1))
366 labels_placeholder, predictions_placeholder, expected_rank_diff=1))
416 label_values, prediction_values, expected_rank_diff=-1))
422 labels_placeholder, predictions_placeholder, expected_rank_diff=-1))
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py796 labels, predictions, weights=None, expected_rank_diff=0): argument
818 labels, predictions, expected_rank_diff=expected_rank_diff)
896 labels, logits, weights, expected_rank_diff=1)