Skip to content

Commit f1da823

Browse files
beyarkaymarkmcd
andauthored
Set autoencoder's shape to x_test.shape[1:]
Co-authored-by: Mark McDonald <[email protected]>
1 parent c618f46 commit f1da823

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/generative/autoencoder.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@
179179
" return decoded\n",
180180
"\n",
181181
"\n",
182-
"shape = x_test.shape\n",
182+
"shape = x_test.shape[1:]\n",
183183
"latent_dim = 64\n",
184184
"autoencoder = Autoencoder(latent_dim, shape)\n"
185185
]

0 commit comments

Comments
 (0)