Correct latent predicton input in transformer ae.
Correct latent predicton input in transformer ae.

PiperOrigin-RevId: 185079318

vthorsteinsson/tensor2tensor,rsepassi/tensor2tensor,vthorsteinsson/tensor2tensor,rsepassi/tensor2tensor,rsepassi/tensor2tensor,tensorflow/tensor2tensor,vthorsteinsson/tensor2tensor,vthorsteinsson/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,tensorflow/tensor2tensor,rsepassi/tensor2tensor