提交 8e48b629 authored 作者: Rémi Louf's avatar Rémi Louf 提交者: Brandon T. Willard

Update the docstring of `BernoulliRV``

上级 da2cafcb
......@@ -1278,9 +1278,8 @@ class BernoulliRV(ScipyRandomVariable):
Probability of success :math:`p` of a single trial.
size
Sample shape. If the given size is `(m, n, k)`, then `m * n * k`
independent, identically distributed samples are
returned. Default is `None` in which case a single sample
is returned.
independent, identically distributed samples are returned. Default
is `None` in which case a single sample is returned.
"""
return super().__call__(p, size=size, **kwargs)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论