Skip to content

Commit

Permalink
Fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Frightera committed Apr 22, 2023
1 parent 7c4ca54 commit 643b1ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions keras/losses.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 643b1ae

Please sign in to comment.