tf.experimental.numpy.diagonal

View source on GitHub

TensorFlow variant of NumPy's diagonal.

See the NumPy documentation for numpy.diagonal.