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

Loads an image from a file and resize it to 224x224. This applies the ImageNet normalization.