You train a variational autoencoder on greyscale digit images, flattened to numbers each.
Every layer is fully connected. A fully connected layer from inputs to outputs has weights plus biases, and activation functions have no parameters.
| part | layer | shape |
|---|---|---|
| encoder | hidden layer | |
| encoder | output layer | a centre and a spread for each of the code dimensions |
| decoder | hidden layer | code |
| decoder | output layer |
Training goes well. You now want a standalone program that produces brand-new digits on demand. You will package only the trained parts that this program actually needs in order to run.
How many trained parameters (weights plus biases) does the packaged generator contain?
Give the exact whole number.