Attend the Women in ML Symposium on December 7 Register now


Stay organized with collections Save and categorize content based on your preferences.

Sample from distribution either with reparameterized sampling or regular sampling.

distribution A tfp.distributions.Distribution instance.
reparam Whether to use reparameterized sampling.
**kwargs Parameters to be passed to distribution's sample() fucntion.