torch.nn.MultiLabelMarginLossOptions
export interface MultiLabelMarginLossOptions {
/** How to reduce loss across batch (default: 'mean') */
reduction?: Reduction;
}reduction(Reduction)optional- – How to reduce loss across batch (default: 'mean')
Options for MultiLabelMarginLoss module.