def __init__(self, network, config=None):
super(CustomizeTrainer, self).__init__(network, config)<EOL>
Basic neural network trainer.
:type network: deepy.NeuralNetwork
:type config: deepy.conf.TrainerConfig
:return: