Skip to content

Commit

Permalink
fix typo (#834)
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyab authored and fritzo committed Mar 1, 2018
1 parent 98752a9 commit c61c17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorial/source/intro_part_ii.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@
"metadata": {},
"outputs": [],
"source": [
"# equivalent to pyro.condition(scale, data={\"measurement\": Variable(torch.ones(1))})\n",
"# equivalent to pyro.condition(scale, data={\"measurement\": Variable(torch.Tensor([9.5]))})\n",
"def scale_obs(guess):\n",
" weight = pyro.sample(\"weight\", dist.Normal(guess, Variable(torch.ones(1))))\n",
" # here we attach an observation measurement == 9.5\n",
Expand Down

0 comments on commit c61c17e

Please sign in to comment.