scvi.distributions.ZeroInflatedNegativeBinomial.sample_n

ZeroInflatedNegativeBinomial.sample_n(n)

Generates n samples or n batches of samples if the distribution parameters are batched.