{.Module;} = pyimport "torch/nn" .ResNet: ClassType .ResNet <: .Module .resnet18: () -> .ResNet