I have trained a single layer neural network with 60 neurons as input layer, 30 neurons as hidden layer, 60 neuron as output layer.

When I use matlab neural network toolbox, training process takes about 5 hours even by using parallel computing (3 cpus).

I then trained such NN in tensorflow and the training process took only 1 min.

I can not find the reason for such difference. both NN have same architecture and trained with same data. The only difference is the learning algorithm which is Levenberg–Marquardt in Matlab and Back propagation in Tensorflow.

Did you have same experience? or/and do you know what is the reason for such difference?

Similar questions and discussions