pub fn matrix_diag<'a, T0: ToTensorHandle<'a>>(
    ctx: &'a Context,
    diagonal: &T0
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for MatrixDiag::new().call(&ctx, &diagonal).

See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/MatrixDiag