Let's say I trained an encoder-decoder network on a cat dataset using reconstruction error as loss function. The network is fully trained and the decoder is able to reconstruct good cat images.
Now what if I use the same network and input a dog image. Will the network be able to reconstruct dog image or not?