Adapt MultiLabelLossLayer to current architecture