pub fn reorder<T>(input: &Array<T>, dims: Dim4) -> Array<T>where
T: HasAfEnum,
👎Deprecated since 3.6.3: Please use new reorder API
Expand description
Reorder the array in specified order
The default order of axes in ArrayFire is axis with smallest distance between adjacent elements towards an axis with highest distance between adjacent elements.
§Parameters
input
is the input Arraydims
is the target(output) dimensions
§Return Values
Array with data reordered as per the new axes order