mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 12:20:24 +01:00
Adjust tolerance on dirichlet_multinomial test.
PiperOrigin-RevId: 157834660
This commit is contained in:
parent
43c0f52f12
commit
4161ccc8e7
|
|
@ -252,7 +252,8 @@ class DirichletMultinomialTest(test.TestCase):
|
|||
])
|
||||
self.assertAllClose(sample_mean_, analytic_mean, atol=0., rtol=0.04)
|
||||
self.assertAllClose(sample_cov_, analytic_cov, atol=0., rtol=0.05)
|
||||
self.assertAllClose(sample_var_, analytic_var, atol=0., rtol=0.03)
|
||||
# TODO(cwhipkey): reduce tolerance (b/62216354)
|
||||
self.assertAllClose(sample_var_, analytic_var, atol=0., rtol=0.05)
|
||||
self.assertAllClose(sample_stddev_, analytic_stddev, atol=0., rtol=0.02)
|
||||
|
||||
def testCovariance(self):
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user