Save the date! Google I/O returns May 18-20 Register now

tf_agents.distributions.reparameterized_sampling.sample

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.

Returns: