We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6019f90 commit bfcd553Copy full SHA for bfcd553
test/test_distributions.py
@@ -1797,9 +1797,8 @@ def test_independent_shape(self):
1797
self.assertEqual(indep_dist.has_rsample, base_dist.has_rsample)
1798
if indep_dist.has_rsample:
1799
self.assertEqual(indep_dist.sample().shape, base_dist.sample().shape)
1800
- if indep_dist.has_enumerate_support:
1801
- self.assertEqual(indep_dist.enumerate_support().shape, base_dist.enumerate_support().shape)
1802
try:
+ self.assertEqual(indep_dist.enumerate_support().shape, base_dist.enumerate_support().shape)
1803
self.assertEqual(indep_dist.mean.shape, base_dist.mean.shape)
1804
except NotImplementedError:
1805
pass
0 commit comments