提交 383d4efe authored 作者: Rémi Louf's avatar Rémi Louf 提交者: Thomas Wiecki

Add tests for JAX `RandomVariable` implementations

上级 d647578c
...@@ -207,3 +207,8 @@ def test_jax_checkandraise(): ...@@ -207,3 +207,8 @@ def test_jax_checkandraise():
with pytest.warns(UserWarning): with pytest.warns(UserWarning):
function((p,), res, mode=jax_mode) function((p,), res, mode=jax_mode)
def set_test_value(x, v):
x.tag.test_value = v
return x
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论