Fix crash when decode_interactive
Fix crash when decode_interactive

PiperOrigin-RevId: 171903063

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