Arul,
Thanks for your code example, it is truly helpful. I just have one question, should we set require_grad=False for the decoder layer after setting self.decoder.weight.data = self.encoder.weight.data.transpose(0,1)?
Thanks a lot.