layout_for_array_copy

Function layout_for_array_copy 

Source
pub fn layout_for_array_copy<D>(
    layout: &Layout<D>,
    order: TensorIterOrder,
) -> Result<Layout<D>, Error>
where D: DimDevAPI,
Expand description

Return a layout that is suitable for array copy.