Skip to content

Commit

Permalink
Set autoencoder's shape to x_test.shape[1:]
Browse files Browse the repository at this point in the history
Co-authored-by: Mark McDonald <[email protected]>
  • Loading branch information
beyarkay and markmcd authored Aug 14, 2023
1 parent c618f46 commit f1da823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/en/tutorials/generative/autoencoder.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
" return decoded\n",
"\n",
"\n",
"shape = x_test.shape\n",
"shape = x_test.shape[1:]\n",
"latent_dim = 64\n",
"autoencoder = Autoencoder(latent_dim, shape)\n"
]
Expand Down

0 comments on commit f1da823

Please sign in to comment.