I am building a network and the LSTM layer is returning a tuple. I understand that I will need to split this to enable the next layer to work, however can’t figure out how to do this. My model looks as follows:
m = nn.Sequential(
nn.LSTM(input_size=128, hidden_size=32, num_layers=1,bidirectional = True),
I need to split it after the LSTM - how do I do this? Appreciate the help Thank you!