Function tensorflow::eager::raw_ops::assert

source ·
pub fn assert<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>>(
    ctx: &'a Context,
    condition: &T0,
    data: &T1
) -> Result<()>
Expand description

Shorthand for Assert::new().call(&ctx, &condition, &data).

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