Glossary: Deep Learning Basics
BCEWithLogitsLoss
Also written: nn.BCEWithLogitsLoss
PyTorch's loss for yes/no predictions. It takes raw logits and float 0.0/1.0 targets and applies the sigmoid inside, which avoids the silent-learning-stop problem of a sigmoid followed by `BCELoss`.