Analyzing networks-on-chip based deep neural networks