Function tensorflow::eager::raw_ops::risc_condition
source · pub fn risc_condition<'a, T0: ToTensorHandle<'a>, T1: ToTensorHandle<'a>, T2: ToTensorHandle<'a>>(
ctx: &'a Context,
pred: &T0,
input_true: &T1,
input_false: &T2
) -> Result<TensorHandle<'a>>
Expand description
Shorthand for RiscCondition::new().call(&ctx, &pred, &input_true, &input_false)
.
See : https://www.tensorflow.org/api_docs/python/tf/raw_ops/RiscCondition