pub fn convert_space_sliced<T: DType, const N: usize>(
from: Space,
to: Space,
pixels: &mut [T],
)where
Channels<N>: ValidChannels,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.