Hi,
I am working on a task that each example has multiple targets.
My way to compute loss is mapping the example to an embedding and expand the embedding to the shape of (length of targets, hidden_size), then compute the cross entropy loss.
My question is “Does each loss of targets affect the backward process?”
Thanks in advance!