Sequential Neural Networks As Automata