Skip to content

Commit

Permalink
Fix skip connection in DGP example (#1531)
Browse files Browse the repository at this point in the history
Co-authored-by: Geoff Pleiss <[email protected]>
  • Loading branch information
numahha and gpleiss authored Mar 29, 2021
1 parent 011679a commit 2e55ec6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
" x = x.rsample()\n",
"\n",
" processed_inputs = [\n",
" inp.unsqueeze(0).expand(self.num_samples, *inp.shape)\n",
" inp.unsqueeze(0).expand(gpytorch.settings.num_likelihood_samples.value(), *inp.shape)\n",
" for inp in other_inputs\n",
" ]\n",
"\n",
Expand Down

0 comments on commit 2e55ec6

Please sign in to comment.