BCEWithLogitsLoss() combines 9 my binary classifier’s output Sigmoid layer and the BCELoss. Having the model trained and switched to .eval(), how do I obtain sigmoid output for given sample[s]?
For an inference on a single sample, I could provide a target of 1 and reconstruct the sigmoid output from the loss value. But what could I do with a batch of samples?