Skip to main content

expand_dims

Function expand_dims 

Source
pub fn expand_dims<B: Backend, T: Element>(
    x: impl ArrayLike<B, T>,
    axis: i64,
) -> Array<B, T>
Expand description

Inserts a dimension of size 1 at axis.