pub fn load_and_resize<T: AsRef<Path>>( path: T, out_w: i64, out_h: i64) -> Result<Tensor, TchError>
Loads and resize an image, preserve the aspect ratio by taking a center crop.