Save the date! Google I/O returns May 18-20 Register now

tf.experimental.numpy.diagonal

TensorFlow variant of NumPy's diagonal.

See the NumPy documentation for numpy.diagonal.