pub fn convert_image_bytes_to_tensor_bytes(
    bytes: &[u8],
    width: u32,
    height: u32,
    precision: TensorType,
    order: ColorOrder
) -> Result<Vec<u8>, String>
Expand description

Same as convert_image_to_tensor_bytes but accepts a bytes slice instead.