Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mean reduction in cross entropy loss
The mean reduction should reduce the s_loss to a scalar. Also, I'm not sure why division was being used here instead of multiplication by the mask, but I changed it to multiplication.
- Loading branch information