Torchsummary for LSTM

I’ve been trying to use torchsummary to print the summary of an LSTM model. However, it shows an error:
“tuple’ object has no attribute 'size”. Is there a way to print the summary of an LSTM model using torchsummary?

I ran into the same problem as you, how did you solve it