cross_entropy_loss_from_proba
Cross entropy loss from probabilities.
CrossEntropyLossFromProbabilities
#
Cross entropy form probabilities, because torch adds softmax/sigmoid inside BCE loss.
forward(inputs: Tensor, target: Tensor, nll_weights: Tensor | None = None) -> Tensor
#
Forward computing of cross entropy form probabilities.