&FloatTensor tensor_bce_logits_loss(const &FloatTensor logits, const &FloatTensor target)Binary cross-entropy of sigmoid(logits) against targets in [0, 1], computed from the logits so it never takes log(0). Gradient to logits only.
&FloatTensor tensor_bce_logits_loss(const &FloatTensor logits, const &FloatTensor target)Binary cross-entropy of sigmoid(logits) against targets in [0, 1], computed from the logits so it never takes log(0). Gradient to logits only.