Add tests for the reparameterization_type of tf.distributions.
Take samples from the distribution and differentiate the samples wrt the parameters. If the distribution is not reparameterized, the gradients should be None. Otherwise, they should not be None. PiperOrigin-RevId: 201502156
Loading
Please sign in to comment