Function tensorflow::ops::switch
source · pub fn switch<O0: Into<Output>, O1: Into<Output>>(
data: O0,
pred: O1,
scope: &mut Scope
) -> Result<Operation>
Expand description
Shorthand for Switch::new().build(data, pred, scope)
.