Function image2tensor::convert_image_to_tensor_bytes
source · pub fn convert_image_to_tensor_bytes(
path: &str,
width: u32,
height: u32,
precision: TensorType,
order: ColorOrder
) -> Result<Vec<u8>, String>