pub fn layout_for_array_copy<D>( layout: &Layout<D>, order: TensorIterOrder, ) -> Result<Layout<D>, Error>where D: DimDevAPI,
Return a layout that is suitable for array copy.