Hi everyone,
I am trying to implement a model for binary classification problem. Up to now, I was using softmax function (at the output layer)  together with torch.NLLLoss function to calculate the loss. However, now I want to use the sigmoid function (instead of softmax) at the output layer. If I do that, should I also change the loss function or may I still use torch.NLLLoss function?