Solved by ptrblck in post #4 
              
              
                I think this is a known issue in torchsummary, which doesn’t seem to support RNNs as seen here. 
Also, there is a fork in torch-summary which has apparently fixed this issue.