Function tensorflow::eager::raw_ops::cast

source ·
pub fn cast<'a, T0: ToTensorHandle<'a>>(
    ctx: &'a Context,
    x: &T0
) -> Result<TensorHandle<'a>>
Expand description

Shorthand for Cast::new().call(&ctx, &x).

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