tensorflow::ops

Function diag

Source
pub fn diag<O0: Into<Output>>(
    diagonal: O0,
    scope: &mut Scope,
) -> Result<Operation>
Expand description

Shorthand for Diag::new().build(diagonal, scope).