Solved by justusschock in post #4 
              
              
                Yes, you have to use Version 1. 
The second version would detach the decoders input from the encoders computational graph. This means, that no gradients could be propagated back through the encoder and thus the encoder would only be trained with one decoder.