scvi.distributions.NegativeBinomialMixture.sample_n

NegativeBinomialMixture.sample_n(n)

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