Skip to content

Commit

Permalink
Lower dimension of PNUTS test to make it run faster.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 355384853
  • Loading branch information
ColCarroll authored and tensorflower-gardener committed Feb 3, 2021
1 parent 11102f5 commit 359d24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tensorflow_probability/python/experimental/mcmc/pnuts_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -804,9 +804,9 @@ def test_correctness_with_2d_mvn_tril(self, precondition_scheme):
@parameterized.named_parameters(
dict(testcase_name='_' + str(scheme), precondition_scheme=scheme)
for scheme in PRECONDITION_SCHEMES)
def test_correctness_with_200d_mvn_tril(self, precondition_scheme):
def test_correctness_with_20d_mvn_tril(self, precondition_scheme):
# This is an almost complete check of the Gaussian case.
dims = 200
dims = 20
scale_wishart = tfd.WishartLinearOperator(
# Important that df is just slightly bigger than dims. This makes the
# scale_wishart ill condtioned. The result is that tests fail if we do
Expand Down

0 comments on commit 359d24e

Please sign in to comment.