Multithreaded backpropagation calculations, minibatch training