Vel factory function

def create(lr, weight_decay=0, momentum=0, layer_groups=False):
    """ Vel factory function """
    return SgdFactory(lr=lr, weight_decay=weight_decay, momentum=momentum, layer_groups=layer_groups)