Function convert_space_sliced

Source
pub fn convert_space_sliced<T: DType, const N: usize>(
    from: Space,
    to: Space,
    pixels: &mut [T],
)
Expand description

Runs conversion functions to convert pixel from one Space to another in the least possible moves.

Caches conversion graph for faster iteration and ignores remainder values in slice.