add automatic network initialization within MBSGD Optimizer.