pub fn load_image_from_memory(img_data: &[u8]) -> Result<Tensor, TchError>
Expand description

Loads an image from memory and applies the ImageNet normalization.