[fix] modify customize_losses.md (#5850)

* Update customize_losses.md

* Update customize_losses.md
pull/5894/head
wangbo-zhao 3 years ago committed by GitHub
parent 6882fa0a22
commit 71cd19bc09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/tutorials/customize_losses.md

@ -8,7 +8,7 @@ This tutorial first elaborate the computation pipeline of losses, then give some
Given the input prediction and target, as well as the weights, a loss function maps the input tensor to the final loss scalar. The mapping can be divided into four steps:
1. Get **element-wise** or sample-wise loss by the loss kernel function.
1. Get **element-wise** or **sample-wise** loss by the loss kernel function.
2. Weighting the loss with a weight tensor **element-wisely**.

Loading…
Cancel
Save