adding hparam to make encoder self-attention optional.
adding hparam to make encoder self-attention optional.

PiperOrigin-RevId: 313707269

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