Hi Debojit,
As per the error message provided, the decoder (netD) output size is not matching with what is being fed to the encoder (netE) input.
I suggest analysing the networks (can refer to this resource - analyzeNetwork) and check if the decoder output is same to that of encoder input (image of size 200*200).
Also, size of ‘Y’ and ‘T’ can be cross-checked to be equal in ‘elboLoss’ function in the referred example – Train Variational Autoencoder (VAE) to Generate Images