torch.nn.BCEloss() and torch.nn.functional.binary_cross_entropy
BCEloss is the Binary_Cross_Entropy loss.
torch.nn.functional.binary_cross_entropy calculates the actual loss inside the torch.nn.BCEloss()
What is the basic difference between these two loss functions? I have already tried using both the loss functions.