pub fn unflatten_device(
a: impl AsRef<Array>,
axis: i32,
shape: &[i32],
stream: impl AsRef<Stream>,
) -> Result<Array>
Expand description
Unflatten an axis of an array to a shape.
ยงParams
a
: input arrayaxis
: axis to unflattenshape
: shape to unflatten into