scvi.distributions.ZeroInflatedNegativeBinomial.rsample

ZeroInflatedNegativeBinomial.rsample(sample_shape=torch.Size([]))

Generates a sample_shape shaped reparameterized sample or sample_shape shaped batch of reparameterized samples if the distribution parameters are batched.