Skip to content

Commit 4820dce

Browse files
author
–Raul
committed
added: changed param Bernoulli validate_args
1 parent c74600e commit 4820dce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

7_Unsupervised/7.2-EXE-variational-autoencoder.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@
560560
" \"\"\"return the distribution `p(x|z)`\"\"\"\n",
561561
" px_logits = self.decoder(z)\n",
562562
" px_logits = px_logits.view(-1, *self.input_shape) # reshape the output\n",
563-
" return Bernoulli(logits=px_logits)\n",
563+
" return Bernoulli(logits=px_logits, validate_args=False)\n",
564564
" \n",
565565
"\n",
566566
" def forward(self, x) -> Dict[str, Any]:\n",
@@ -1054,7 +1054,7 @@
10541054
"name": "python",
10551055
"nbconvert_exporter": "python",
10561056
"pygments_lexer": "ipython3",
1057-
"version": "3.7.6"
1057+
"version": "3.8.5"
10581058
}
10591059
},
10601060
"nbformat": 4,

0 commit comments

Comments
 (0)