Home
last modified time | relevance | path

Searched refs:label_weights (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/python/keras/utils/
Dmetrics_utils.py244 label_weights=None): argument
295 if multi_label and label_weights is not None:
413 if label_weights is not None and not multi_label:
414 label_weights = array_ops.expand_dims(label_weights, 0)
415 label_weights = weights_broadcast_ops.broadcast_weights(label_weights,
418 array_ops.reshape(label_weights, thresh_tiles), data_tiles)
/external/tensorflow/tensorflow/python/keras/
Dmetrics.py1971 label_weights=None, argument
2019 if label_weights is not None:
2020 label_weights = constant_op.constant(label_weights, dtype=self.dtype)
2023 label_weights,
2027 self.label_weights = label_weights
2030 self.label_weights = None
2109 if self.multi_label or (self.label_weights is not None):
2121 if self.label_weights is not None:
2123 shapes.append((self.label_weights, ('L',)))
2132 label_weights = None if self.multi_label else self.label_weights
[all …]
Dmetrics_confusion_matrix_test.py1571 label_weights=[0.75, 0.25])
1585 label_weights=[0.75, 0.25])
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.metrics.-a-u-c.pbtxt137 …name\', \'dtype\', \'thresholds\', \'multi_label\', \'num_labels\', \'label_weights\', \'from_logi…
Dtensorflow.keras.metrics.-a-u-c.pbtxt137 …name\', \'dtype\', \'thresholds\', \'multi_label\', \'num_labels\', \'label_weights\', \'from_logi…
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.keras.metrics.-a-u-c.pbtxt137 …name\', \'dtype\', \'thresholds\', \'multi_label\', \'num_labels\', \'label_weights\', \'from_logi…