scvi.distributions.NegativeBinomial.perplexity

NegativeBinomial.perplexity()

Returns perplexity of distribution, batched over batch_shape.

Returns

Tensor of shape batch_shape.