Skip to content

Commit

Permalink
Update signature of sample in tutorial intro_long (#3112)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraterenz committed Jul 7, 2022
1 parent 273949f commit 72225a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/source/intro_long.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@
"```python\n",
"def sample(\n",
" name: str,\n",
" distribution: pyro.distributions.Distribution,\n",
" fn: pyro.distributions.Distribution,\n",
" *,\n",
" obs: typing.Optional[torch.Tensor] = None,\n",
" infer: typing.Optional[dict] = None\n",
Expand Down

0 comments on commit 72225a6

Please sign in to comment.