Skip to content

Commit

Permalink
lgssm test
Browse files Browse the repository at this point in the history
  • Loading branch information
murphyk committed Nov 14, 2022
1 parent 2b8626a commit 1633f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamax/linear_gaussian_ssm/models_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ def test_sample_and_fit(cls, kwargs, inputs):
params, param_props = model.initialize(key1)
states, emissions = model.sample(params, key2, num_timesteps=NUM_TIMESTEPS, inputs=inputs)
fitted_params, lps = model.fit_em(params, param_props, emissions, inputs=inputs, num_iters=3)
assert monotonically_increasing(lps) # fails on TPU
assert monotonically_increasing(lps)
fitted_params, lps = model.fit_sgd(params, param_props, emissions, inputs=inputs, num_epochs=3)

0 comments on commit 1633f9c

Please sign in to comment.