An Analysis Framework for Understanding Deep Neural Networks Based on Network Dynamics