Vel factory function

def create(fc_layers=None, dropout=None, pretrained=True):
    """ Vel factory function """
    def instantiate(**_):
        return Resnet34(fc_layers, dropout, pretrained)

    return ModelFactory.generic(instantiate)