Extend TransformerAE to work with >1000 latent variables.
Extend TransformerAE to work with >1000 latent variables.

PiperOrigin-RevId: 205599118

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