Skip to content

Commit

Permalink
doctstring error in d3pm_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Blackburn authored and Simon Blackburn committed Nov 26, 2024
1 parent 934c9c3 commit ab6cc55
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,9 @@ def get_probability_at_previous_time_step(
small_epsilon: float,
probability_at_zeroth_timestep_are_logits: bool = False,
) -> torch.Tensor:
r"""Compute :math:`P(a_{t-1} | a_t, \gamma_0)`, for given probability distribution :math:`\gamma_0` and a one-hot
distribution :math:`a_t`.
r"""Compute :math:`P(a_{t-1} | a_t, \gamma_0)`.
For given probability distribution :math:`\gamma_0` and a one-hot distribution :math:`a_t`.
.. math::
P(a_{t-1} | a_t, \gamma_0) = (\gamma_0^T \cdot \bar{Q}_{t-1} \cdot a_{t-1}) (a_{t-1}^T \cdot Q_t \cdot a_t) /
Expand Down

0 comments on commit ab6cc55

Please sign in to comment.