A PyTorch reference implementation of the modular recurrent neural network in:
A goal-driven modular neural network predicts parietofrontal neural dynamics during grasping
Jonathan A. Michaels, Stefan Schaffelhofer, Andres Agudelo-Toro, and Hansjörg Scherberger
Proceedings of the National Academy of Sciences Vol. 117 | No. 50 December 15, 2020
See example.ipynb