support multivariate actions.
support multivariate actions.

PiperOrigin-RevId: 218288675

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