Function tch::vision::image::load_dir

source ·
pub fn load_dir<T: AsRef<Path>>(
    path: T,
    out_w: i64,
    out_h: i64
) -> Result<Tensor, TchError>
Expand description

Loads all the images in a directory.