Fixed doc typo.

This commit is contained in:
Ivo Danihelka
2012-11-19 19:03:15 +00:00
parent 8ed97e6961
commit 7bd8b98124

View File

@ -98,7 +98,7 @@ the given ''mean'' and standard deviation ''stdv''.
Returns a random integer number according to a geometric distribution
''p(i) = (1-p) * p^(i-1)''. ''p'' must satisfy ''0 < p < 1''.
==== [number] bernouilli([p]) ====
==== [number] bernoulli([p]) ====
{{anchor:torch.bernoulli}}
Returns ''1'' with probability ''p'' and ''0'' with probability ''1-p''. ''p'' must satisfy ''0 < p < 1''.