Function unflatten_device

Source
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 array
  • axis: axis to unflatten
  • shape: shape to unflatten into