TaranRai:

And if so, I can send the output of sigmoid + nn.BCELoss to nn.CrossEntropyLoss ?


No, this wouldn’t work, since nn.BCELoss already calculates the loss.
nn.CrossEntropyLoss expects a model output and targets, not another loss.