Skip to content

Make infer_discrete work with scan #991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
14 changes: 1 addition & 13 deletions test/contrib/test_infer_discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,19 +82,7 @@ def hmm(data, hidden_dim=10):
logger.info("inferred states: {}".format(list(map(int, inferred_states))))


@pytest.mark.parametrize(
"length",
[
1,
2,
pytest.param(
10,
marks=pytest.mark.xfail(
reason="adjoint does not work with markov sum product yet."
),
),
],
)
@pytest.mark.parametrize("length", [1, 2, 10])
@pytest.mark.parametrize("temperature", [0, 1])
def test_scan_hmm_smoke(length, temperature):

Expand Down