oa::FnLoss::maskedCrossEntropy
maskedCrossEntropy: cross-entropy over only rows where inMask is non-zero.
Function Documentation
maskedCrossEntropy: cross-entropy over only rows where inMask is non-zero.
Parameters
inLogitsconst Matrix &—
inTargetsconst Matrix &—
inMaskconst Matrix &—
inValidCountoa::I32—
Returns
MatrixThe declared return value.