def create(model_config, model, source, storage, phases, callbacks=None, restart=True):
    """ Vel factory function """
    return PhaseTrainCommand(
        model_config=model_config,
        model_factory=model,
        source=source,
        storage=storage,
        phases=phases,
        callbacks=callbacks,
        restart=restart
    )
def create ( model_config , model , source , storage , phases , callbacks = None , restart = True ) : return PhaseTrainCommand ( model_config = model_config , model_factory = model , source = source , storage = storage , phases = phases , callbacks = callbacks , restart = restart )
Vel factory function