Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/api/losses/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ A loss is a callable with arguments `loss_fn(y_true, y_pred, sample_weight=None)
by the corresponding value of `sample_weight`. (Note on`dN-1`: all loss
functions reduce by 1 dimension, usually `axis=-1`.)

By default, loss functions return one scalar loss value per input sample, e.g.
By default, loss functions return one scalar loss value for each input sample
in the batch dimension, e.g.

```
>>> from keras import ops
Expand Down
Loading