Analysis of Memory Organization for Dynamic Neural Networks