/external/tensorflow/tensorflow/python/keras/ |
D | losses.py | 325 label_smoothing=0, argument 333 label_smoothing=label_smoothing) 381 label_smoothing=0, argument 389 label_smoothing=label_smoothing) 839 label_smoothing=0): argument 854 label_smoothing = ops.convert_to_tensor(label_smoothing, dtype=K.floatx()) 858 return y_true * (1.0 - label_smoothing) + (label_smoothing / num_classes) 860 y_true = smart_cond.smart_cond(label_smoothing, 874 def binary_crossentropy(y_true, y_pred, from_logits=False, label_smoothing=0): # pylint: disable=m… argument 877 label_smoothing = ops.convert_to_tensor(label_smoothing, dtype=K.floatx()) [all …]
|
D | metrics.py | 2479 label_smoothing=0): argument 2498 label_smoothing=label_smoothing) 2554 label_smoothing=0): argument 2561 label_smoothing=label_smoothing)
|
D | losses_test.py | 736 label_smoothing = 0.1 748 from_logits=True, label_smoothing=label_smoothing) 750 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0 832 label_smoothing = 0.1 846 from_logits=True, label_smoothing=label_smoothing) 848 expected_value = 400.0 * label_smoothing / 3.0
|
D | metrics_test.py | 1367 name='bce', dtype=dtypes.int32, label_smoothing=0.2) 1463 label_smoothing = 0.1 1475 from_logits=True, label_smoothing=label_smoothing) 1478 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0 1487 name='cce', dtype=dtypes.int32, label_smoothing=0.2) 1583 label_smoothing = 0.1 1602 from_logits=True, label_smoothing=label_smoothing)
|
/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
D | losses_impl.py | 180 label_smoothing=0.0, argument 234 weights=real_weights, label_smoothing=label_smoothing, scope=scope, 408 label_smoothing=0.25, argument 448 generated_weights, label_smoothing)) as scope: 453 discriminator_real_outputs, real_weights, label_smoothing, scope, 474 label_smoothing=0.0, argument 511 discriminator_gen_outputs, label_smoothing, weights, weights, scope, 523 label_smoothing=0.25, argument 559 label_smoothing, 570 label_smoothing=0.0, argument [all …]
|
/external/tensorflow/tensorflow/contrib/losses/python/losses/ |
D | loss_ops.py | 280 label_smoothing=0, argument 316 if label_smoothing > 0: 318 multi_class_labels * (1 - label_smoothing) + 0.5 * label_smoothing) 331 label_smoothing=0, argument 365 if label_smoothing > 0: 368 smooth_positives = 1.0 - label_smoothing 369 smooth_negatives = label_smoothing / num_classes
|
D | loss_ops_test.py | 239 label_smoothing = 0.1 241 logits, labels, label_smoothing=label_smoothing) 243 expected_value = 400.0 * label_smoothing / 3.0 603 label_smoothing = 0.1 605 logits, labels, label_smoothing=label_smoothing) 607 expected_value = (100.0 + 50.0 * label_smoothing) / 3.0 612 label_smoothing = 0.1 616 sigmoid_logits, sigmoid_labels, label_smoothing=label_smoothing) 622 softmax_logits, softmax_labels, label_smoothing=label_smoothing)
|
/external/tensorflow/tensorflow/python/ops/losses/ |
D | losses_impl.py | 656 multi_class_labels, logits, weights=1.0, label_smoothing=0, scope=None, argument 707 if label_smoothing > 0: 708 multi_class_labels = (multi_class_labels * (1 - label_smoothing) + 709 0.5 * label_smoothing) 720 onehot_labels, logits, weights=1.0, label_smoothing=0, scope=None, argument 773 if label_smoothing > 0: 776 smooth_positives = 1.0 - label_smoothing 777 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.-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.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 | 173 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo… 181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
|
/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.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.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.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.-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.metrics.pbtxt | 173 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo… 181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
|
D | tensorflow.metrics.pbtxt | 173 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo… 181 …argspec: "args=[\'y_true\', \'y_pred\', \'from_logits\', \'label_smoothing\'], varargs=None, keywo…
|
D | tensorflow.keras.metrics.-categorical-crossentropy.pbtxt | 93 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
D | tensorflow.metrics.-binary-crossentropy.pbtxt | 93 …argspec: "args=[\'self\', \'name\', \'dtype\', \'from_logits\', \'label_smoothing\'], varargs=None…
|
/external/tensorflow/tensorflow/contrib/eager/python/examples/gan/ |
D | mnist.py | 168 label_smoothing=0.25)
|