code: def create(fc_layers=None, dropout=None, pretrained=True):
      
      def instantiate(**_):
          return Resnet34(fc_layers, dropout, pretrained)
  
      return ModelFactory.generic(instantiate)
docs: Vel factory function