pub fn matrix_diag_v2<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>, T3: ToTensorHandle<'a>, T4: ToTensorHandle<'a>>(
    ctx: &'a Context,
    diagonal: &T0,
    k: &T1,
    num_rows: &T2,
    num_cols: &T3,
    padding_value: &T4
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for MatrixDiagV2::new().call(&ctx, &diagonal, &k, &num_rows, &num_cols, &padding_value).

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