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