Skip to content

Commit

Permalink
revise docstring of Multinomial
Browse files Browse the repository at this point in the history
  • Loading branch information
fehiepsi committed Mar 26, 2023
1 parent 267f259 commit 8efe57b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions numpyro/distributions/discrete.py
Original file line number Diff line number Diff line change
Expand Up @@ -638,10 +638,11 @@ def Multinomial(
"""Multinomial distribution.
:param total_count: number of trials. If this is a JAX array,
`total_count_max` is required to specify.
it is required to specify `total_count_max`.
:param probs: event probabilities
:param logits: event log probabilities
:param int total_count_max: the maximum number of trials
:param int total_count_max: the maximum number of trials,
i.e. `max(total_count)`
"""
if probs is not None:
return MultinomialProbs(
Expand Down

0 comments on commit 8efe57b

Please sign in to comment.