tensorplay.nn.functional.binary_cross_entropy_with_logits
- tensorplay.nn.functional.binary_cross_entropy_with_logits(input: TensorBase, target: TensorBase, weight: TensorBase | None = None, size_average=None, reduce=None, reduction: str = 'mean', pos_weight: TensorBase | None = None) TensorBase[source]
Compute Binary Cross Entropy between target and input logits.
optionally rescaled by
weight, then reduced. SeeBCEWithLogitsLossfor details.

