Improving The Performance of Dataflow Systems For Deep Neural Network Training