I’m using torchvision c++ API. Vision::Model namespace there a way to implement polymorphism in the upper class? I can’t even feel it when I look at the code
I want to point to a parent class pointer.
vision::models::AlexNet         alexnet;
vision::models::VGG19           vgg19;
vision::models::ResNet18        resnet18;
vision::models::InceptionV3     inceptionv3; // 299
vision::models::MobileNetV2     mobilenet;
vision::models::ResNext50_32x4d resnext50;
vision::models::WideResNet50_2  wide_resnet50;