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