We still need a tf.where like condition since we can't take convex comb. of Nan
We still need a tf.where like condition since we can't take convex comb. of Nan

PiperOrigin-RevId: 192478191

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