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