tf.raw_ops.MatrixDiag

robots: noindex

Returns a batched diagonal tensor with a given batched diagonal values.