# tensorplay.nn.functional.binary_cross_entropy_with_logits Source: https://www.tensorplay.cn/docs/generated/tensorplay.nn.functional.binary_cross_entropy_with_logits.html ```python tensorplay.nn.functional.binary_cross_entropy_with_logits(input: Tensor, target: Tensor, weight: Tensor | None = None, size_average=None, reduce=None, reduction: str = 'mean', pos_weight: Tensor | None = None) → Tensor ``` Compute Binary Cross Entropy between target and input logits. optionally rescaled by weight, then reduced. See BCEWithLogitsLoss for details.