Binary Cross Entropy
class liqfit.losses.BinaryCrossEntropyLoss
Parameters:
multi_target (bool, optional): Whether the labels are multi-target or not.
weight (torch.Tensor, optional): Manual rescaling weight given to the loss of each batch element.
reduction (str, optional): Reduction method to apply on the loss. (Defaults to "mean").
Using CrossEntropyLoss
Simple wrapper over PyTorch's binary_cross_entropy_with_logits
loss function to support multi-target inputs
Last updated