Vel factory function

def create(img_rows, img_cols, img_channels, num_classes):
    """ Vel factory function """
    def instantiate(**_):
        return Net(img_rows, img_cols, img_channels, num_classes)
    return ModelFactory.generic(instantiate)