Home
last modified time | relevance | path

Searched refs:label_smoothing (Results 1 – 25 of 27) sorted by relevance

12

/external/tensorflow/tensorflow/python/keras/
Dlosses.py578 label_smoothing=0, argument
608 label_smoothing=label_smoothing)
659 label_smoothing=0, argument
688 label_smoothing=label_smoothing)
1596 label_smoothing=0): argument
1622 label_smoothing = ops.convert_to_tensor_v2_with_dispatch(
1623 label_smoothing, dtype=K.floatx())
1627 return y_true * (1.0 - label_smoothing) + (label_smoothing / num_classes)
1629 y_true = smart_cond.smart_cond(label_smoothing, _smooth_labels,
1639 label_smoothing=0): argument
[all …]
Dlosses_test.py880 label_smoothing = 0.1
892 from_logits=True, label_smoothing=label_smoothing)
894 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0
1005 label_smoothing = 0.1
1019 from_logits=True, label_smoothing=label_smoothing)
1021 expected_value = 400.0 * label_smoothing / 3.0
Dmetrics.py3082 label_smoothing=0): argument
3088 label_smoothing=label_smoothing)
3146 label_smoothing=0): argument
3152 label_smoothing=label_smoothing)
Dmetrics_test.py1544 name='bce', dtype=dtypes.int32, label_smoothing=0.2)
1640 label_smoothing = 0.1
1652 from_logits=True, label_smoothing=label_smoothing)
1655 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0
1664 name='cce', dtype=dtypes.int32, label_smoothing=0.2)
1760 label_smoothing = 0.1
1779 from_logits=True, label_smoothing=label_smoothing)
/external/tensorflow/tensorflow/python/ops/losses/
Dlosses_impl.py659 multi_class_labels, logits, weights=1.0, label_smoothing=0, scope=None, argument
711 if label_smoothing > 0:
712 multi_class_labels = (multi_class_labels * (1 - label_smoothing) +
713 0.5 * label_smoothing)
725 onehot_labels, logits, weights=1.0, label_smoothing=0, scope=None, argument
778 if label_smoothing > 0:
781 smooth_positives = 1.0 - label_smoothing
782 smooth_negatives = label_smoothing / num_classes
/external/tensorflow/tensorflow/tools/api/golden/v1/
Dtensorflow.losses.pbtxt61 …argspec: "args=[\'multi_class_labels\', \'logits\', \'weights\', \'label_smoothing\', \'scope\', \…
65 …argspec: "args=[\'onehot_labels\', \'logits\', \'weights\', \'label_smoothing\', \'scope\', \'loss…
Dtensorflow.keras.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.pbtxt89 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.keras.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.keras.metrics.-binary-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
Dtensorflow.keras.metrics.-categorical-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
/external/tensorflow/tensorflow/python/kernel_tests/
Dlosses_test.py223 label_smoothing = 0.1
225 labels, logits, label_smoothing=label_smoothing)
227 expected_value = 400.0 * label_smoothing / 3.0
627 label_smoothing = 0.1
629 labels, logits, label_smoothing=label_smoothing)
632 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0
638 label_smoothing = 0.1
642 sigmoid_labels, sigmoid_logits, label_smoothing=label_smoothing)
649 softmax_labels, softmax_logits, label_smoothing=label_smoothing)
/external/tensorflow/tensorflow/tools/api/golden/v2/
Dtensorflow.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.-binary-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.losses.-categorical-crossentropy.pbtxt9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
Dtensorflow.keras.losses.pbtxt93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
97 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.losses.pbtxt93 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
97 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.keras.metrics.pbtxt181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
189 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
Dtensorflow.keras.metrics.-categorical-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
Dtensorflow.metrics.-binary-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
Dtensorflow.keras.metrics.-binary-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
Dtensorflow.metrics.-categorical-crossentropy.pbtxt136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…

12