Skip to content

Commit 9cf53b4

Browse files
committed
fix sampling function comment
1 parent c380c8a commit 9cf53b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lab2/solutions/PT_Part2_Debiasing_Solution.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -928,7 +928,7 @@
928928
"\n",
929929
"\n",
930930
"def sampling(z_mean, z_logsigma):\n",
931-
" # By default, randn_like is \"standard\" (ie. mean=0 and std=1.0)\n",
931+
" # Generate random noise with the same shape as z_mean, sampled from a standard normal distribution (mean=0, std=1)\n",
932932
" eps = torch.randn_like(z_mean)\n",
933933
"\n",
934934
" # # TODO: Define the reparameterization computation!\n",

0 commit comments

Comments
 (0)