Distributed learning of deep neural network over multiple agents