Comments
There's unfortunately not much to read here yet...
Follow the full discussion on Reddit.
def bce_loss(a_true: 'Tensor', b_pred: 'Tensor') -> 'Tensor':loss = -(a_true.data * np.log(b_pred.data) + (1 - a_true.data) * np.log1p(1 -b_pred.data)).mean()
There's unfortunately not much to read here yet...
Ever having issues keeping up with everything that's going on in Machine Learning? That's where we help. We're sending out a weekly digest, highlighting the Best of Machine Learning.
Discover the best guides, books, papers and news in Machine Learning, once per week.