So my question is, what is the log base BCEloss uses? I read the docs, but couldn’t find anything.
torch.log
uses the natural logarithm, i.e. base e
:
torch.log(torch.tensor(np.e))
> tensor(1.)
5 Likes