xlnstorch.operators.lns_binary_cross_entropy#
- xlnstorch.operators.lns_binary_cross_entropy(x, y, base, weight=None, size_average=None, reduce=None, reduction='mean')#
See docs for
torch.nn.functional.binary_cross_entropy()for parameter/return details. Typically, torch.Tensor arguments are the equivalent internal representations of LNStensors.