deepy/core/graph.py
def get_trainer(self, model,  method='sgd', config=None, annealer=None, validator=None):
        """
        Get a trainer to optimize given model.
        :rtype: deepy.trainers.GeneralNeuralTrainer
        """
        from deepy.trainers import GeneralNeuralTrainer
        return GeneralNeuralTrainer(model, method=method, config=config, annealer=annealer, validator=validator)
def get_trainer(self, model,  method='sgd', config=None, annealer=None, validator=None):
        """
        Get a trainer to optimize given model.
        :rtype: deepy.trainers.GeneralNeuralTrainer
        """
        from deepy.trainers import GeneralNeuralTrainer
        return GeneralNeuralTrainer(model, method=method, config=config, annealer=annealer, validator=validator)
def get_trainer ( self , model , method = 'sgd' , config = None , annealer = None , validator = None ) : from deepy . trainers import GeneralNeuralTrainer return GeneralNeuralTrainer ( model , method = method , config = config , annealer = annealer , validator = validator )
Get a trainer to optimize given model.
        :rtype: deepy.trainers.GeneralNeuralTrainer
Get a trainer to optimize given model . : rtype : deepy . trainers . GeneralNeuralTrainer