/external/tensorflow/tensorflow/contrib/gan/python/losses/python/ |
losses_impl.py | 180 label_smoothing=0.0, 204 label_smoothing: A float in [0, 1]. If greater than 0, smooth the labels for 234 weights=real_weights, label_smoothing=label_smoothing, scope=scope, 408 label_smoothing=0.25, 430 label_smoothing: The amount of smoothing for positive labels. This technique 448 generated_weights, label_smoothing)) as scope: 450 # -log((1 - label_smoothing) - sigmoid(D(x))) 453 discriminator_real_outputs, real_weights, label_smoothing, scope, 474 label_smoothing=0.0 [all...] |
/external/tensorflow/tensorflow/contrib/losses/python/losses/ |
loss_ops.py | 280 label_smoothing=0, 289 If `label_smoothing` is nonzero, smooth the labels towards 1/2: 291 new_multiclass_labels = multiclass_labels * (1 - label_smoothing) 292 + 0.5 * label_smoothing 299 label_smoothing: If greater than 0 then smooth the labels. 316 if label_smoothing > 0: 318 multi_class_labels * (1 - label_smoothing) + 0.5 * label_smoothing) 331 label_smoothing=0, 340 If `label_smoothing` is nonzero, smooth the labels towards 1/num_classes [all...] |
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 [all...] |
/external/tensorflow/tensorflow/python/ops/losses/ |
losses_impl.py | 656 multi_class_labels, logits, weights=1.0, label_smoothing=0, scope=None, 666 If `label_smoothing` is nonzero, smooth the labels towards 1/2: 668 new_multiclass_labels = multiclass_labels * (1 - label_smoothing) 669 + 0.5 * label_smoothing 678 label_smoothing: If greater than `0` then smooth the labels. 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, 730 If `label_smoothing` is nonzero, smooth the labels towards 1/num_classes [all...] |
/external/tensorflow/tensorflow/python/kernel_tests/ |
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 [all...] |
/external/tensorflow/tensorflow/python/keras/ |
losses.py | 317 label_smoothing: Float in [0, 1]. If > `0` then smooth the labels. 325 label_smoothing=0, 333 label_smoothing=label_smoothing) 370 label_smoothing: Float in [0, 1]. When > 0, label values are smoothed, 372 `label_smoothing=0.2` means that we will use a value of `0.1` for label 381 label_smoothing=0, 389 label_smoothing=label_smoothing) 839 label_smoothing=0) [all...] |
metrics.py | [all...] |
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 [all...] |
metrics_test.py | [all...] |
/external/tensorflow/tensorflow/contrib/eager/python/examples/gan/ |
mnist.py | 168 label_smoothing=0.25)
|
/external/tensorflow/tensorflow/python/keras/saving/ |
hdf5_format_test.py | 356 name='cce', label_smoothing=constant_op.constant(0.2)), 361 name='cce', label_smoothing=constant_op.constant(0.2)), [all...] |