/external/tensorflow/tensorflow/python/keras/ |
D | losses.py | 578 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 …]
|
D | losses_test.py | 880 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
|
D | metrics.py | 3082 label_smoothing=0): argument 3088 label_smoothing=label_smoothing) 3146 label_smoothing=0): argument 3152 label_smoothing=label_smoothing)
|
D | metrics_test.py | 1544 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/ |
D | losses_impl.py | 659 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/ |
D | tensorflow.losses.pbtxt | 61 …argspec: "args=[\'multi_class_labels\', \'logits\', \'weights\', \'label_smoothing\', \'scope\', \… 65 …argspec: "args=[\'onehot_labels\', \'logits\', \'weights\', \'label_smoothing\', \'scope\', \'loss…
|
D | tensorflow.keras.losses.-binary-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.keras.losses.-categorical-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.keras.losses.pbtxt | 89 …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…
|
D | tensorflow.keras.metrics.pbtxt | 181 …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…
|
D | tensorflow.keras.metrics.-binary-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
D | tensorflow.keras.metrics.-categorical-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | losses_test.py | 223 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/ |
D | tensorflow.losses.-binary-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.keras.losses.-categorical-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.keras.losses.-binary-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.losses.-categorical-crossentropy.pbtxt | 9 …argspec: "args=[\'self\', \'from_logits\', \'label_smoothing\', \'reduction\', \'name\'], varargs=…
|
D | tensorflow.keras.losses.pbtxt | 93 …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…
|
D | tensorflow.losses.pbtxt | 93 …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…
|
D | tensorflow.metrics.pbtxt | 181 …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…
|
D | tensorflow.keras.metrics.pbtxt | 181 …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…
|
D | tensorflow.keras.metrics.-categorical-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
D | tensorflow.metrics.-binary-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
D | tensorflow.keras.metrics.-binary-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
D | tensorflow.metrics.-categorical-crossentropy.pbtxt | 136 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|