Skip to main content

expand_dims

Function expand_dims 

Source
pub fn expand_dims(a: &Array, axis: isize) -> Result<Array>
Expand description

Inserts a dimension of size 1 at axis (negative counts from the end of the result). Shares the data.