Skip to content
Snippets Groups Projects

Fix loss derivative

Merged Olivier Antoni requested to merge oantoni/aidge_learning:Fix_loss_derivative into dev
1 unresolved thread

Context

The derivative of the ReduceMean operator is not correct when computing the loss gradient for MSE and BCE loss.

Detailed major modifications

Replace target->dims()[0] by target->size() in the computation of the loss gradient.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading