pub fn load_image_from_bytes(
bytes: &[u8],
config: &ImagePreprocessConfig,
device: Device,
) -> Result<Tensor>Expand description
Load an image from raw bytes (PNG, JPEG, or other formats supported by image crate)
pub fn load_image_from_bytes(
bytes: &[u8],
config: &ImagePreprocessConfig,
device: Device,
) -> Result<Tensor>Load an image from raw bytes (PNG, JPEG, or other formats supported by image crate)