From 643b1ae8d049ffb459205b415e9ff8430d488a3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kaan=20B=C4=B1=C3=A7akc=C4=B1?= Date: Sat, 22 Apr 2023 10:43:19 +0100 Subject: [PATCH] Fix formatting --- keras/losses.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/keras/losses.py b/keras/losses.py index 9a0c6a3254a..0147f2a1e95 100644 --- a/keras/losses.py +++ b/keras/losses.py @@ -634,9 +634,9 @@ def __init__( Args: from_logits: Whether to interpret `y_pred` as a tensor of - [logit](https://en.wikipedia.org/wiki/Logit) values. By default, we - assume that `y_pred` contains probabilities (i.e., values in [0, - 1]). + [logit](https://en.wikipedia.org/wiki/Logit) values. By default, + we assume that `y_pred` contains probabilities (i.e., values in + [0, 1]). label_smoothing: Float in [0, 1]. When 0, no smoothing occurs. When > 0, we compute the loss between the predicted labels and a smoothed version of the true labels, where the smoothing