Skip to content

Commit

Permalink
fixup! Add further type annotations to linreghmm
Browse files Browse the repository at this point in the history
  • Loading branch information
gileshd committed Oct 6, 2024
1 parent 45e3e7f commit 076350a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dynamax/hidden_markov_model/models/linreg_hmm.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def distribution(
self,
params: ParamsLinearRegressionHMMEmissions,
state: Union[int, Int[Array, ""]],
inputs: Array
inputs: Float[Array, " input_dim"]
):
prediction = params.weights[state] @ inputs
prediction += params.biases[state]
Expand Down

0 comments on commit 076350a

Please sign in to comment.