scvi.distributions.NegativeBinomialMixture.sample

NegativeBinomialMixture.sample(sample_shape=torch.Size([]))[source]

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

Return type

TensorTensor