scvi.distributions.ZeroInflatedNegativeBinomial.perplexity

ZeroInflatedNegativeBinomial.perplexity()

Returns perplexity of distribution, batched over batch_shape.

Returns

Tensor of shape batch_shape.