BNNSLossReductionNonZeroWeightMean
Sums the loss of all samples in the batch and divides by the number of non-zero weights.
Declaration
var BNNSLossReductionNonZeroWeightMean: BNNSLossReductionFunction { get }Discussion
BNNSLossReductionNonZeroWeightMean sums the loss of all samples in the batch and divides by number of non-zero weights.
Non-zero weighted mean reduction returns 0 in case all weights are zero.