The documentation isn’t clear. Is y supposed to be a binary vector, i.e.
[0, 0, 1, 1]
for classes 2 and 3, or a vector of classes, i.e.
[2,3,0,0]
for classes 2 and 3?
For MultiLabelSoftMarginLoss it is clear, but for this one is isn’t.