osl_dynamics.inference.ops.mvn_log_prob_per_state#

osl_dynamics.inference.ops.mvn_log_prob_per_state(x, mu, sigma)#

Multivariate normal log-likelihood for each state.

Parameters:
xtf.Tensor

Data. Shape is (None, sequence_length, n_channels).

mutf.Tensor

Means. Shape is (n_states, n_channels) or (None, n_states, n_channels).

sigmatf.Tensor

Covariances. Shape is (n_states, n_channels, n_channels) or (None, n_states, n_channels, n_channels).

Returns:
log_probtf.Tensor

Log-likelihood. Shape is (None, sequence_length, n_states).