burn_core/nn/loss/
reduction.rs

1/// The reduction type for the loss.
2pub enum Reduction {
3    /// The mean of the losses will be returned.
4    Mean,
5
6    /// The sum of the losses will be returned.
7    Sum,
8
9    /// The mean of the losses will be returned.
10    Auto,
11}