pub fn optional_from_value<'a, T0: ToTensorHandle<'a>>(
    ctx: &'a Context,
    components: &T0
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for OptionalFromValue::new().call(&ctx, &components).

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