Skip to content

Commit

Permalink
Enable JointDistribution tests, even though they don't currently pass…
Browse files Browse the repository at this point in the history
… (CI is disabled). The change to rewrite.py also enables importing/using the JD classes in np/jax tests like cholesky_lkj w/ the logdet fix.

PiperOrigin-RevId: 288711875
  • Loading branch information
brianwa84 authored and tensorflower-gardener committed Jan 8, 2020
1 parent fc84041 commit fd7cd5f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
12 changes: 9 additions & 3 deletions tensorflow_probability/python/distributions/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2037,9 +2037,11 @@ multi_substrate_py_test(
],
)

py_test(
multi_substrate_py_test(
name = "joint_distribution_coroutine_test",
srcs = ["joint_distribution_coroutine_test.py"],
jax_tags = ["notap"],
numpy_tags = ["notap"],
deps = [
# numpy dep,
# tensorflow dep,
Expand All @@ -2048,9 +2050,11 @@ py_test(
],
)

py_test(
multi_substrate_py_test(
name = "joint_distribution_named_test",
srcs = ["joint_distribution_named_test.py"],
jax_tags = ["notap"],
numpy_tags = ["notap"],
deps = [
# absl/testing:parameterized dep,
# tensorflow dep,
Expand All @@ -2059,9 +2063,11 @@ py_test(
],
)

py_test(
multi_substrate_py_test(
name = "joint_distribution_sequential_test",
srcs = ["joint_distribution_sequential_test.py"],
jax_tags = ["notap"],
numpy_tags = ["notap"],
deps = [
# absl/testing:parameterized dep,
# numpy dep,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,7 @@
'bijectors':
('masked_autoregressive', 'scale_matvec_lu', 'real_nvp'),
'distributions':
('joint_distribution', 'joint_distribution_coroutine',
'joint_distribution_named', 'joint_distribution_sequential',
'internal.moving_stats'),
('internal.moving_stats',),
'math':
('ode', 'diag_jacobian',
'interpolation', 'minimize', 'root_search', 'sparse'),
Expand Down

0 comments on commit fd7cd5f

Please sign in to comment.