Skip to content

Commit 2e9c757

Browse files
axchtensorflower-gardener
authored andcommitted
Raise numerical tolerances for NormalInverseGamma test
PiperOrigin-RevId: 383659009
1 parent 1f45b31 commit 2e9c757

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tensorflow_probability/python/distributions/distribution_properties_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,13 @@
8585

8686
SLICING_LOGPROB_ATOL = collections.defaultdict(lambda: 1e-5)
8787
SLICING_LOGPROB_ATOL.update({
88+
'NormalInverseGaussian': 3e-4, # b/193076242
8889
'Weibull': 3e-5,
8990
})
9091

9192
SLICING_LOGPROB_RTOL = collections.defaultdict(lambda: 1e-5)
9293
SLICING_LOGPROB_RTOL.update({
94+
'NormalInverseGaussian': 5e-3, # b/193076242
9395
'Weibull': 3e-5,
9496
})
9597

0 commit comments

Comments
 (0)