pub fn resnet18(p: &Path<'_>, num_classes: i64) -> FuncT<'static>
Expand description

Creates a ResNet-18 model.

Pre-trained weights can be downloaded at the following link: https://github.com/LaurentMazare/tch-rs/releases/download/untagged-eb220e5c19f9bb250bd1/resnet18.ot