tensorflow::ops

Function optional_from_value

Source
pub fn optional_from_value<O0: Into<Output>>(
    components: O0,
    scope: &mut Scope,
) -> Result<Operation>
Expand description

Shorthand for OptionalFromValue::new().build(components, scope).