Searched refs:expected_rank_diff (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/python/ops/ |
D | confusion_matrix.py | 33 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/ |
D | losses_utils.py | 84 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/ |
D | confusion_matrix_test.py | 307 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/ |
D | losses_impl.py | 796 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)
|