pub fn load_image<T: AsRef<Path>>(path: T) -> Result<Tensor, TchError>
Expand description

Loads an image from a file and applies the ImageNet normalization.