Computes the average negative log-likelihood (NLL) of observing the provided sequences. If you want to have NLLs for each individual sequence, use
Tensor]]) -- The sequences for which to compute the average log-probability.
- Return type:
The average NLL for all sequences.
score_samples()to obtain the NLL values for individual sequences.