tensorflow::ops

Function assert

Source
pub fn assert<O0: Into<Output>, O1: Into<Output>>(
    condition: O0,
    data: O1,
    scope: &mut Scope,
) -> Result<Operation>
Expand description

Shorthand for Assert::new().build(condition, data, scope).