pub fn pack_interleaved_image<T: TensorElement, const CHANNELS: usize>(
image: ImageView<'_, T, CHANNELS>,
) -> Result<TensorBuffer, TensorError>Expand description
Explicitly packs a possibly strided interleaved image view into an owned HWC tensor.