Commit dfbdc142 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower Committed by TensorFlower Gardener
Browse files

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
parent 4e071b26
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment