pub fn reorder<T>(input: &Array<T>, dims: Dim4) -> Array<T> where
Please use new reorder API
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.
inputis the input Array
dimsis the target(output) dimensions
Array with data reordered as per the new axes order